aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/backup
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-11-27 13:43:42 +0100
committerAlex Auvolat <alex@adnab.me>2023-11-27 13:43:42 +0100
commit9c6f98f4b8460983d26bc9297c2df92ffdda2577 (patch)
tree9bf84112c0de49aef8b2c61d23bfadb5b284d2bb /cluster/prod/app/backup
parenta315d5d1af39492ed83ab0b5128533716d070ddd (diff)
downloadnixcfg-9c6f98f4b8460983d26bc9297c2df92ffdda2577.tar.gz
nixcfg-9c6f98f4b8460983d26bc9297c2df92ffdda2577.zip
fix cryptpad backup
Diffstat (limited to 'cluster/prod/app/backup')
-rw-r--r--cluster/prod/app/backup/deploy/backup-daily.hcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/cluster/prod/app/backup/deploy/backup-daily.hcl b/cluster/prod/app/backup/deploy/backup-daily.hcl
index 947bc73..058cc92 100644
--- a/cluster/prod/app/backup/deploy/backup-daily.hcl
+++ b/cluster/prod/app/backup/deploy/backup-daily.hcl
@@ -152,7 +152,7 @@ EOH
constraint {
attribute = "${attr.unique.hostname}"
operator = "="
- value = "courgette"
+ value = "concombre"
}
task "main" {
@@ -163,7 +163,7 @@ EOH
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 = [
- "/mnt/storage/cryptpad:/cryptpad"
+ "/mnt/ssd/cryptpad:/cryptpad"
]
}