Merge pull request #42182 from markuskowa/pgbackup-18.03

nixos-18.03/pgbackup: Fix bug in postgresql-backup module that causes to fail
release-18.03-flake
Jörg Thalheim 2018-06-19 10:01:24 +01:00 committed by GitHub
commit 43d3e539c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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