aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-08-29 11:51:18 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-08-29 11:51:18 +0200
commit1340fb6962500b72d5d3901df0cd67daa662df05 (patch)
tree2ae9013e2fa99ea8404d59b7a9b0732c87ac7968
parent3d925a4505e8b973bd9c55f0d33315be5441b4ac (diff)
downloadnixcfg-1340fb6962500b72d5d3901df0cd67daa662df05.tar.gz
nixcfg-1340fb6962500b72d5d3901df0cd67daa662df05.zip
upgraded backups
-rw-r--r--cluster/prod/app/backup/deploy/backup-daily.hcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/cluster/prod/app/backup/deploy/backup-daily.hcl b/cluster/prod/app/backup/deploy/backup-daily.hcl
index aa3937f..871a393 100644
--- a/cluster/prod/app/backup/deploy/backup-daily.hcl
+++ b/cluster/prod/app/backup/deploy/backup-daily.hcl
@@ -14,14 +14,14 @@ job "backup_daily" {
constraint {
attribute = "${attr.unique.hostname}"
operator = "="
- value = "doradille"
+ value = "ananas"
}
task "main" {
driver = "docker"
config {
- image = "restic/restic:0.14.0"
+ image = "restic/restic:0.16.0"
entrypoint = [ "/bin/sh", "-c" ]
args = [ "restic backup /mail && restic forget --group-by paths --keep-within 1m1d --keep-within-weekly 3m --keep-within-monthly 1y && restic prune --max-unused 50% --max-repack-size 2G && restic check" ]
volumes = [
@@ -116,7 +116,7 @@ EOH
driver = "docker"
config {
- image = "restic/restic:0.12.1"
+ image = "restic/restic:0.16.0"
entrypoint = [ "/bin/sh", "-c" ]
args = [ "restic backup $NOMAD_ALLOC_DIR/consul.json && restic forget --group-by paths --keep-within 1m1d --keep-within-weekly 3m --keep-within-monthly 1y && restic prune --max-unused 50% --max-repack-size 2G && restic check" ]
}
@@ -159,7 +159,7 @@ EOH
driver = "docker"
config {
- image = "restic/restic:0.12.1"
+ image = "restic/restic:0.16.0"
entrypoint = [ "/bin/sh", "-c" ]
args = [ "restic backup /cryptpad && restic forget --group-by paths --keep-within 1m1d --keep-within-weekly 3m --keep-within-monthly 1y && restic prune --max-unused 50% --max-repack-size 2G && restic check" ]
volumes = [