Backup attic
Run backups 00:00 - 05:00
This commit is contained in:
parent
3ec6b502b9
commit
6056b4f92f
2 changed files with 13 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue