diff --git a/tasks/postgresql-backup.yml b/tasks/postgresql-backup.yml index 5c9bee0..be17a37 100644 --- a/tasks/postgresql-backup.yml +++ b/tasks/postgresql-backup.yml @@ -44,7 +44,7 @@ tags: [ 'pg_backup', 'postgresql', 'postgres' ] - name: Backup script for the postgresql streaming replication database(s) - template: src=postgresql_wal_backup_and_removal.j2 dest=/usr/local/sbin/postgresql_wal_backup_and_removal owner=root mode=0744 + template: src=postgresql_wal_backup_and_removal.j2 dest=/usr/local/sbin/postgresql_wal_backup_and_removal owner=root group=postgres mode=0754 tags: [ 'pg_stream_backup', 'postgresql', 'postgres' ] - name: backuppc root script for the postgresql streaming replication database(s)