Merge pull request #42182 from markuskowa/pgbackup-18.03
nixos-18.03/pgbackup: Fix bug in postgresql-backup module that causes to failrelease-18.03-flake
commit
43d3e539c5
|
@ -9,7 +9,7 @@ let
|
|||
|
||||
postgresqlBackupCron = db:
|
||||
''
|
||||
${config.services.postgresqlBackup.period} root ${config.services.postgresql.package}/bin/pg_dump ${db} | ${gzip}/bin/gzip -c > ${location}/${db}.gz
|
||||
${config.services.postgresqlBackup.period} root ${config.services.postgresql.package}/bin/pg_dump ${db} -U postgres | ${gzip}/bin/gzip -c > ${location}/${db}.gz
|
||||
'';
|
||||
|
||||
in
|
||||
|
|
Loading…
Reference in New Issue