final touches backups now start the db backups automatcially

This commit is contained in:
2025-10-18 18:41:23 -05:00
parent f72e067a4e
commit 3e216701e0

View File

@@ -34,6 +34,10 @@ in {
group = "archives";
encryption.mode = "repokey-blake2";
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"];
extraCreateArgs = ["--list" "--stats" "--filter" "AME"];
prune.keep = {