lets try that again
This commit is contained in:
parent
39dbf3e308
commit
416410579a
|
@ -88,8 +88,16 @@
|
|||
monthly = -1; # Keep unlimited monthly backups
|
||||
};
|
||||
};
|
||||
postgres = {
|
||||
dumpCommand = "su postgres -c pg_dumpall";
|
||||
postgres =
|
||||
let dumper = pkgs.writeScript "pg-dumper"
|
||||
''
|
||||
#!/usr/bin/env bash
|
||||
su -c postgres pg_dumpall
|
||||
'';
|
||||
in
|
||||
{
|
||||
|
||||
dumpCommand = dumper;
|
||||
repo = "de1955@de1955.rsync.net:databases/oracles/postgres";
|
||||
encryption = {
|
||||
mode = "repokey-blake2";
|
||||
|
|
Loading…
Reference in New Issue