Tweak borg timing
This commit is contained in:
parent
b472b4405a
commit
f8f27a504d
|
@ -83,7 +83,7 @@
|
||||||
};
|
};
|
||||||
environment.BORG_RSH = "ssh -i ${config.sops.secrets."borg-sshKey".path}";
|
environment.BORG_RSH = "ssh -i ${config.sops.secrets."borg-sshKey".path}";
|
||||||
compression = "auto,zstd";
|
compression = "auto,zstd";
|
||||||
startAt = "OnCalendar=00/4:00";
|
startAt = "OnCalendar=00/4:30";
|
||||||
prune.keep = {
|
prune.keep = {
|
||||||
within = "7d"; # Keep all archives for the past week
|
within = "7d"; # Keep all archives for the past week
|
||||||
daily = 1; # Keep 1 snapshot a day for 2 weeks
|
daily = 1; # Keep 1 snapshot a day for 2 weeks
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
};
|
};
|
||||||
environment.BORG_RSH = "ssh -i ${config.sops.secrets."borg-sshKey".path}";
|
environment.BORG_RSH = "ssh -i ${config.sops.secrets."borg-sshKey".path}";
|
||||||
compression = "auto,zstd";
|
compression = "auto,zstd";
|
||||||
startAt = "OnCalendar=00/4:00";
|
startAt = "OnCalendar=00/4:30";
|
||||||
prune.keep = {
|
prune.keep = {
|
||||||
within = "7d"; # Keep all archives for the past week
|
within = "7d"; # Keep all archives for the past week
|
||||||
daily = 1; # Keep 1 snapshot a day for 2 weeks
|
daily = 1; # Keep 1 snapshot a day for 2 weeks
|
||||||
|
|
Loading…
Reference in New Issue