Re-enable frequent borg backups

This commit is contained in:
Vili Sinervä 2025-07-24 11:09:59 +03:00
parent a60684c05c
commit 666846c717
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos

View file

@ -11,6 +11,10 @@ in
sopsFile = ../../secrets/${host}/borg.yaml;
};
environment.persistence."/persist".directories = [
"/root/.cache/borg" # Otherwise the initial run of Borg is painfully slow
];
services.borgbackup.jobs.persist = {
compression = "auto,zstd,10";
encryption = {
@ -31,7 +35,7 @@ in
monthly = 12;
};
repo = "borg@borg.vsinerva.fi:/persist/borg/${host}";
startAt = "hourly";
startAt = "*-*-* *:00/10:00";
};
};
}