Compare commits
3 commits
83b4cc0051
...
91d382041c
Author | SHA1 | Date | |
---|---|---|---|
91d382041c | |||
da144d73fe | |||
f9b75a6247 |
1 changed files with 1 additions and 1 deletions
|
@ -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"}' \
|
${pkgs.su}/bin/su -c '${lib.getExe' config.services.postgresql.package "pg_dumpall"}' \
|
||||||
${config.services.postgresql.superUser} >${pgBackup}
|
${config.services.postgresql.superUser} >${pgBackup}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue