fix cryptpad backup

This commit is contained in:
Alex 2023-11-27 13:43:42 +01:00
parent a315d5d1af
commit 9c6f98f4b8
1 changed files with 2 additions and 2 deletions

View File

@ -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"
]
}