Restic: Add additional backup targets

This commit is contained in:
GHOSCHT 2024-08-18 14:47:05 +02:00
parent e4ac3e8977
commit 3581dfc24a
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -224,6 +224,62 @@ in {
- arion -f ${arionPath}/auth/arion-compose.nix -p ${arionPath}/auth/arion-pkgs.nix stop - arion -f ${arionPath}/auth/arion-compose.nix -p ${arionPath}/auth/arion-pkgs.nix stop
after: after:
- arion -f ${arionPath}/auth/arion-compose.nix -p ${arionPath}/auth/arion-pkgs.nix start - arion -f ${arionPath}/auth/arion-compose.nix -p ${arionPath}/auth/arion-pkgs.nix start
infrastructure:
from: /storage/dataset/docker/infrastructure
to:
- zfs
- ssd
- eustachius
cron: '55 3 * * *' # Every Day at 3:55
hooks:
<<: *default_hooks
before:
- arion -f ${arionPath}/infrastructure/arion-compose.nix -p ${arionPath}/infrastructure/arion-pkgs.nix stop
after:
- arion -f ${arionPath}/infrastructure/arion-compose.nix -p ${arionPath}/infrastructure/arion-pkgs.nix start
wiki:
from: /storage/dataset/docker/wiki
to:
- zfs
- ssd
- eustachius
cron: '55 3 * * *' # Every Day at 3:55
hooks:
<<: *default_hooks
before:
- arion -f ${arionPath}/wiki/arion-compose.nix -p ${arionPath}/wiki/arion-pkgs.nix stop
after:
- arion -f ${arionPath}/wiki/arion-compose.nix -p ${arionPath}/wiki/arion-pkgs.nix start
stats:
from: /storage/dataset/docker/stats
to:
- zfs
- ssd
- eustachius
cron: '55 3 * * *' # Every Day at 3:55
hooks:
<<: *default_hooks
before:
- arion -f ${arionPath}/stats/arion-compose.nix -p ${arionPath}/stats/arion-pkgs.nix stop
after:
- arion -f ${arionPath}/stats/arion-compose.nix -p ${arionPath}/stats/arion-pkgs.nix start
minio:
from: /storage/dataset/docker/stats
to:
- zfs
- ssd
- eustachius
cron: '55 3 * * *' # Every Day at 3:55
options:
backup:
exclude:
- '*.pmtiles'
hooks:
<<: *default_hooks
before:
- arion -f ${arionPath}/minio/arion-compose.nix -p ${arionPath}/minio/arion-pkgs.nix stop
after:
- arion -f ${arionPath}/minio/arion-compose.nix -p ${arionPath}/minio/arion-pkgs.nix start
backends: backends:
zfs: zfs:
type: local type: local