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:
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user