backups: reduce chances for lock race #193

Merged
teutat3s merged 1 commit from backups-splay into main 2024-05-16 06:10:11 +00:00
5 changed files with 5 additions and 5 deletions
Showing only changes of commit 67b9b84e01 - Show all commits

View file

@ -205,7 +205,7 @@
"/tmp/forgejo-backup.sql" "/tmp/forgejo-backup.sql"
]; ];
timerConfig = { timerConfig = {
OnCalendar = "*-*-* 04:20:00 Etc/UTC"; OnCalendar = "*-*-* 00:00:00 Etc/UTC";
}; };
initialize = true; initialize = true;
passwordFile = config.age.secrets."restic-repo-storagebox".path; passwordFile = config.age.secrets."restic-repo-storagebox".path;

View file

@ -86,7 +86,7 @@
services.restic.backups.keycloak-storagebox = { services.restic.backups.keycloak-storagebox = {
paths = [ "/tmp/keycloak-backup.sql" ]; paths = [ "/tmp/keycloak-backup.sql" ];
timerConfig = { timerConfig = {
OnCalendar = "*-*-* 04:10:00 Etc/UTC"; OnCalendar = "*-*-* 03:00:00 Etc/UTC";
}; };
initialize = true; initialize = true;
passwordFile = config.age.secrets."restic-repo-storagebox".path; passwordFile = config.age.secrets."restic-repo-storagebox".path;

View file

@ -110,7 +110,7 @@
"/var/lib/postfix/conf/aliases.db" "/var/lib/postfix/conf/aliases.db"
]; ];
timerConfig = { timerConfig = {
OnCalendar = "*-*-* 04:15:00 Etc/UTC"; OnCalendar = "*-*-* 02:00:00 Etc/UTC";
}; };
initialize = true; initialize = true;
passwordFile = config.age.secrets."restic-repo-storagebox".path; passwordFile = config.age.secrets."restic-repo-storagebox".path;

View file

@ -126,7 +126,7 @@
services.restic.backups.mastodon-storagebox = { services.restic.backups.mastodon-storagebox = {
paths = [ "/tmp/mastodon-backup.sql" ]; paths = [ "/tmp/mastodon-backup.sql" ];
timerConfig = { timerConfig = {
OnCalendar = "*-*-* 04:05:00 Etc/UTC"; OnCalendar = "*-*-* 04:00:00 Etc/UTC";
}; };
initialize = true; initialize = true;
passwordFile = config.age.secrets."restic-repo-storagebox".path; passwordFile = config.age.secrets."restic-repo-storagebox".path;

View file

@ -164,7 +164,7 @@
"/tmp/nextcloud-backup.sql" "/tmp/nextcloud-backup.sql"
]; ];
timerConfig = { timerConfig = {
OnCalendar = "*-*-* 04:00:00 Etc/UTC"; OnCalendar = "*-*-* 01:00:00 Etc/UTC";
}; };
initialize = true; initialize = true;
passwordFile = config.age.secrets."restic-repo-storagebox".path; passwordFile = config.age.secrets."restic-repo-storagebox".path;