Backup attic

Run backups 00:00 - 05:00
This commit is contained in:
Pim Kunis 2025-05-28 21:46:06 +02:00
parent 3ec6b502b9
commit 6056b4f92f
2 changed files with 13 additions and 1 deletions

View file

@ -77,6 +77,18 @@
deploymentName = "database";
deploymentNamespace = "immich";
};
attic = {
paths = ["/mnt/longhorn/persistent/volumes/attic"];
deploymentName = "attic";
deploymentNamespace = "attic";
};
attic-db = {
paths = ["/mnt/longhorn/persistent/volumes/attic-db"];
deploymentName = "attic-db";
deploymentNamespace = "attic";
};
};
deployment = {

View file

@ -63,6 +63,6 @@ in {
})
config.pim.backups.borgBackups;
systemd.timers = lib.mapAttrs' (name: _c: lib.nameValuePair "borgbackup-job-${name}" {timerConfig.RandomizedDelaySec = "1h";}) config.pim.backups.borgBackups;
systemd.timers = lib.mapAttrs' (name: _c: lib.nameValuePair "borgbackup-job-${name}" {timerConfig.RandomizedDelaySec = "5h";}) config.pim.backups.borgBackups;
};
}