Restic: Add additional backup targets
This commit is contained in:
parent
e4ac3e8977
commit
3581dfc24a
1 changed files with 56 additions and 0 deletions
|
@ -224,6 +224,62 @@ in {
|
|||
- arion -f ${arionPath}/auth/arion-compose.nix -p ${arionPath}/auth/arion-pkgs.nix stop
|
||||
after:
|
||||
- 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:
|
||||
zfs:
|
||||
type: local
|
||||
|
|
Loading…
Reference in a new issue