forked from pub-solar/infra
backups: reduce chances for lock race
Start one backup per hour each night
This commit is contained in:
parent
47c9424459
commit
67b9b84e01
|
@ -205,7 +205,7 @@
|
|||
"/tmp/forgejo-backup.sql"
|
||||
];
|
||||
timerConfig = {
|
||||
OnCalendar = "*-*-* 04:20:00 Etc/UTC";
|
||||
OnCalendar = "*-*-* 00:00:00 Etc/UTC";
|
||||
};
|
||||
initialize = true;
|
||||
passwordFile = config.age.secrets."restic-repo-storagebox".path;
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
services.restic.backups.keycloak-storagebox = {
|
||||
paths = [ "/tmp/keycloak-backup.sql" ];
|
||||
timerConfig = {
|
||||
OnCalendar = "*-*-* 04:10:00 Etc/UTC";
|
||||
OnCalendar = "*-*-* 03:00:00 Etc/UTC";
|
||||
};
|
||||
initialize = true;
|
||||
passwordFile = config.age.secrets."restic-repo-storagebox".path;
|
||||
|
|
|
@ -110,7 +110,7 @@
|
|||
"/var/lib/postfix/conf/aliases.db"
|
||||
];
|
||||
timerConfig = {
|
||||
OnCalendar = "*-*-* 04:15:00 Etc/UTC";
|
||||
OnCalendar = "*-*-* 02:00:00 Etc/UTC";
|
||||
};
|
||||
initialize = true;
|
||||
passwordFile = config.age.secrets."restic-repo-storagebox".path;
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
services.restic.backups.mastodon-storagebox = {
|
||||
paths = [ "/tmp/mastodon-backup.sql" ];
|
||||
timerConfig = {
|
||||
OnCalendar = "*-*-* 04:05:00 Etc/UTC";
|
||||
OnCalendar = "*-*-* 04:00:00 Etc/UTC";
|
||||
};
|
||||
initialize = true;
|
||||
passwordFile = config.age.secrets."restic-repo-storagebox".path;
|
||||
|
|
|
@ -164,7 +164,7 @@
|
|||
"/tmp/nextcloud-backup.sql"
|
||||
];
|
||||
timerConfig = {
|
||||
OnCalendar = "*-*-* 04:00:00 Etc/UTC";
|
||||
OnCalendar = "*-*-* 01:00:00 Etc/UTC";
|
||||
};
|
||||
initialize = true;
|
||||
passwordFile = config.age.secrets."restic-repo-storagebox".path;
|
||||
|
|
Loading…
Reference in a new issue