final touches backups now start the db backups automatcially
This commit is contained in:
@@ -34,6 +34,10 @@ in {
|
|||||||
group = "archives";
|
group = "archives";
|
||||||
encryption.mode = "repokey-blake2";
|
encryption.mode = "repokey-blake2";
|
||||||
encryption.passCommand = "cat ${sec."borg_passwd".path}";
|
encryption.passCommand = "cat ${sec."borg_passwd".path}";
|
||||||
|
preHook = ''
|
||||||
|
systemctl start mysql-backup.service
|
||||||
|
systemctl start $(systemctl list-unit-files 'postgresqlBackup-*.service' --no-legend --no-pager | awk '{print $1}')
|
||||||
|
'';
|
||||||
extraArgs = ["--verbose" "--show-rc" "--umask" "0007"];
|
extraArgs = ["--verbose" "--show-rc" "--umask" "0007"];
|
||||||
extraCreateArgs = ["--list" "--stats" "--filter" "AME"];
|
extraCreateArgs = ["--list" "--stats" "--filter" "AME"];
|
||||||
prune.keep = {
|
prune.keep = {
|
||||||
|
|||||||
Reference in New Issue
Block a user