debug backups

This commit is contained in:
Joseph Hanson 2025-01-06 00:19:43 -06:00
parent 7115b48707
commit d441049526
3 changed files with 3 additions and 4 deletions

View file

@ -91,7 +91,7 @@
if builtins.hasAttr "remoteResticTemplate" options then options.remoteResticTemplate else null;
# 2:05 daily backup with 3h random delay
timerConfig = {
OnCalendar = "02:15"; # night snap is taken at 02:10
OnCalendar = "06:05"; # night snap is taken at 02:10
Persistent = true;
RandomizedDelaySec = "30m";
};
@ -99,7 +99,6 @@
pruneOpts = [
"--keep-daily 7"
"--keep-weekly 5"
"--keep-monthly 12"
];
# Initialize the repository if it doesn't exist
initialize = true;

View file

@ -84,8 +84,8 @@ in
};
startAt = lib.mkOption {
type = lib.types.str;
default = "*-*-* 02:00:00 America/Chicago"; # Every day at 2 AM
description = "When to create and mount the ZFS snapshot. Defaults to 2 AM.";
default = "*-*-* 06:00:00 America/Chicago"; # Every day at 6 AM
description = "When to create and mount the ZFS snapshot. Defaults to 6 AM.";
};
};