Re-enable frequent borg backups
This commit is contained in:
parent
a60684c05c
commit
666846c717
1 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue