Compare commits

..

2 commits

View file

@ -31,7 +31,7 @@
backupPrepareCommand = '' backupPrepareCommand = ''
umask 0077 umask 0077
rm -f -- ${pgBackup} rm -f -- ${pgBackup}
su -c '${lib.getExe' config.services.postgresql.package "pg_dumpall"}' \ ${lib.getExe pkgs.su} -c '${lib.getExe' config.services.postgresql.package "pg_dumpall"}' \
${config.services.postgresql.superUser} >${pgBackup} ${config.services.postgresql.superUser} >${pgBackup}
''; '';