Tweak borg timing

This commit is contained in:
Nathan McCarty 2022-06-10 20:23:41 -04:00
parent b472b4405a
commit f8f27a504d
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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