Autorestic: change backup times to 4:00

ISP reassigns public IP around 3:30. If backups take too long the remote backup will fail
This commit is contained in:
GHOSCHT 2024-04-20 20:15:29 +02:00
parent 16fae21651
commit a12e904d6e
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -68,7 +68,7 @@ in {
from: /storage/dataset/docker/dashboard from: /storage/dataset/docker/dashboard
to: to:
- zfs - zfs
cron: '0 3 * * 0' # Every Sunday at 3:00 cron: '0 4 * * 0' # Every Sunday at 4:00
hooks: hooks:
before: before:
- arion -f ${arionPath}/dashboard/arion-compose.nix -p ${arionPath}/dashboard/arion-pkgs.nix stop - arion -f ${arionPath}/dashboard/arion-compose.nix -p ${arionPath}/dashboard/arion-pkgs.nix stop
@ -78,7 +78,7 @@ in {
from: /storage/dataset/docker/dns from: /storage/dataset/docker/dns
to: to:
- zfs - zfs
cron: '0 3 * * 0' # Every Sunday at 3:00 cron: '0 4 * * 0' # Every Sunday at 4:00
hooks: hooks:
before: before:
- arion -f ${arionPath}/dns/arion-compose.nix -p ${arionPath}/dns/arion-pkgs.nix stop - arion -f ${arionPath}/dns/arion-compose.nix -p ${arionPath}/dns/arion-pkgs.nix stop
@ -88,7 +88,7 @@ in {
from: /storage/dataset/docker/feed from: /storage/dataset/docker/feed
to: to:
- zfs - zfs
cron: '0 3 * * 0' # Every Sunday at 3:00 cron: '0 4 * * 0' # Every Sunday at 4:00
hooks: hooks:
before: before:
- arion -f ${arionPath}/feed/arion-compose.nix -p ${arionPath}/feed/arion-pkgs.nix stop - arion -f ${arionPath}/feed/arion-compose.nix -p ${arionPath}/feed/arion-pkgs.nix stop
@ -99,7 +99,7 @@ in {
to: to:
- zfs - zfs
- ssd - ssd
cron: '0 3 * * *' # Every Day at 3:00 cron: '0 4 * * *' # Every Day at 4:00
hooks: hooks:
before: before:
- arion -f ${arionPath}/git/arion-compose.nix -p ${arionPath}/git/arion-pkgs.nix stop - arion -f ${arionPath}/git/arion-compose.nix -p ${arionPath}/git/arion-pkgs.nix stop
@ -109,7 +109,7 @@ in {
from: /storage/dataset/docker/media from: /storage/dataset/docker/media
to: to:
- zfs - zfs
cron: '0 3 * * *' # Every Day at 3:00 cron: '0 4 * * *' # Every Day at 4:00
hooks: hooks:
before: before:
- arion -f ${arionPath}/media/arion-compose.nix -p ${arionPath}/media/arion-pkgs.nix stop - arion -f ${arionPath}/media/arion-compose.nix -p ${arionPath}/media/arion-pkgs.nix stop
@ -120,7 +120,7 @@ in {
to: to:
- zfs - zfs
- ssd - ssd
cron: '0 3 * * *' # Every Day at 3:00 cron: '0 4 * * *' # Every Day at 4:00
hooks: hooks:
before: before:
- arion -f ${arionPath}/nextcloud/arion-compose.nix -p ${arionPath}/nextcloud/arion-pkgs.nix stop - arion -f ${arionPath}/nextcloud/arion-compose.nix -p ${arionPath}/nextcloud/arion-pkgs.nix stop
@ -130,7 +130,7 @@ in {
from: /storage/dataset/docker/smarthome from: /storage/dataset/docker/smarthome
to: to:
- zfs - zfs
cron: '0 3 * * 0' # Every Sunday at 3:00 cron: '0 4 * * 0' # Every Sunday at 4:00
hooks: hooks:
before: before:
- arion -f ${arionPath}/smarthome/arion-compose.nix -p ${arionPath}/smarthome/arion-pkgs.nix stop - arion -f ${arionPath}/smarthome/arion-compose.nix -p ${arionPath}/smarthome/arion-pkgs.nix stop
@ -141,7 +141,7 @@ in {
to: to:
- zfs - zfs
- ssd - ssd
cron: '0 3 * * *' # Every Day at 3:00 cron: '0 4 * * *' # Every Day at 4:00
hooks: hooks:
before: before:
- arion -f ${arionPath}/passwords/arion-compose.nix -p ${arionPath}/passwords/arion-pkgs.nix stop - arion -f ${arionPath}/passwords/arion-compose.nix -p ${arionPath}/passwords/arion-pkgs.nix stop