1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 20:01:08 +01:00

feat(restic): more sensible times

This commit is contained in:
2022-01-19 22:01:26 +01:00
parent c9248ae9b9
commit 6d681e9f43
3 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ in
services.restic.backups.niveum = { services.restic.backups.niveum = {
initialize = true; initialize = true;
inherit (restic) repository; inherit (restic) repository;
timerConfig = { OnCalendar = "00:05"; RandomizedDelaySec = "5h"; }; timerConfig = { OnCalendar = "8:00"; RandomizedDelaySec = "1h"; };
passwordFile = toString <secrets/restic/password>; passwordFile = toString <secrets/restic/password>;
extraBackupArgs = [ extraBackupArgs = [
"--exclude=/home/kfm/projects/nixpkgs/.git" "--exclude=/home/kfm/projects/nixpkgs/.git"

View File

@@ -30,7 +30,7 @@ in
services.restic.backups.niveum = { services.restic.backups.niveum = {
initialize = true; initialize = true;
inherit (restic) repository; inherit (restic) repository;
timerConfig = { OnCalendar = "00:05"; RandomizedDelaySec = "5h"; }; timerConfig = { OnCalendar = "daily"; RandomizedDelaySec = "1h"; };
passwordFile = toString <secrets/restic/password>; passwordFile = toString <secrets/restic/password>;
paths = [ paths = [
"/var/lib/codimd" "/var/lib/codimd"

View File

@@ -29,7 +29,7 @@ in
services.restic.backups.moodle-dl = { services.restic.backups.moodle-dl = {
initialize = true; initialize = true;
inherit (restic) repository; inherit (restic) repository;
timerConfig = { OnCalendar = "daily"; RandomizedDelaySec = "5h"; }; timerConfig = { OnCalendar = "daily"; RandomizedDelaySec = "1h"; };
passwordFile = toString <secrets/restic/password>; passwordFile = toString <secrets/restic/password>;
paths = [ paths = [
"/var/lib/moodle-dl" "/var/lib/moodle-dl"