~sumner/nixos-configuration

3ab4bf431f66896fb68803491cd332faca997f30 — Sumner Evans 2 years ago 66ae830
restic backup: run less often (every 6 hours)
1 files changed, 2 insertions(+), 2 deletions(-)

M modules/services/restic.nix
M modules/services/restic.nix => modules/services/restic.nix +2 -2
@@ 16,8 16,8 @@
  cfg = config.services.backup;
  bucket = "test-scarif-backup";
  repoPath = config.networking.hostName;
  frequency = "0/1:0"; # Run backup every hour
  pruneFrequency = "*-15"; # Run prune on the fifteenth day of every month.
  frequency = "0/6:0"; # Run backup every three hours
  pruneFrequency = "*-15 02:00"; # Run prune on the fifteenth day of every month.
  resticPasswordFile = "/etc/nixos/secrets/restic-password";
  resticEnvironmentFile = "/etc/nixos/secrets/restic-environment-variables";
  resticRepository = "b2:${bucket}:${repoPath}";