forked from Deuxfleurs/nixcfg
fix cryptpad backup
This commit is contained in:
parent
a315d5d1af
commit
9c6f98f4b8
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue