aboutsummaryrefslogtreecommitdiff
path: root/app/backup
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-01-27 16:58:22 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-01-27 16:58:22 +0100
commit715c3d3a9fabd5531485736d6dc0ad8e47156b16 (patch)
treef3df1e9975c6b3b4b5fae253a1c4c47f693574dc /app/backup
parent84b26f347d5425fcb401a54c57c9fa034796c3f4 (diff)
downloadinfrastructure-715c3d3a9fabd5531485736d6dc0ad8e47156b16.tar.gz
infrastructure-715c3d3a9fabd5531485736d6dc0ad8e47156b16.zip
Use ampersand in backup instead of semi colon
Diffstat (limited to 'app/backup')
-rw-r--r--app/backup/deploy/backup-daily.hcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/backup/deploy/backup-daily.hcl b/app/backup/deploy/backup-daily.hcl
index f95882f..2034b74 100644
--- a/app/backup/deploy/backup-daily.hcl
+++ b/app/backup/deploy/backup-daily.hcl
@@ -23,7 +23,7 @@ job "backup_daily" {
config {
image = "restic/restic:0.12.1"
entrypoint = [ "/bin/sh", "-c" ]
- args = [ "restic backup /mail && restic forget --keep-within 1m1d --keep-within-weekly 3m --keep-within-monthly 1y ; restic prune --max-unused 50% --max-repack-size 2G ; restic check" ]
+ args = [ "restic backup /mail && restic forget --keep-within 1m1d --keep-within-weekly 3m --keep-within-monthly 1y && restic prune --max-unused 50% --max-repack-size 2G && restic check" ]
volumes = [
"/mnt/ssd/mail:/mail"
]
@@ -68,7 +68,7 @@ EOH
config {
image = "restic/restic:0.12.1"
entrypoint = [ "/bin/sh", "-c" ]
- args = [ "restic backup /plume && restic forget --keep-within 1m1d --keep-within-weekly 3m --keep-within-monthly 1y ; restic prune --max-unused 50% --max-repack-size 2G ; restic check" ]
+ args = [ "restic backup /plume && restic forget --keep-within 1m1d --keep-within-weekly 3m --keep-within-monthly 1y && restic prune --max-unused 50% --max-repack-size 2G && restic check" ]
volumes = [
"/mnt/ssd/plume/media:/plume"
]
@@ -139,7 +139,7 @@ EOH
config {
image = "restic/restic:0.12.1"
entrypoint = [ "/bin/sh", "-c" ]
- args = [ "restic backup $NOMAD_ALLOC_DIR/consul.json && restic forget --keep-within 1m1d --keep-within-weekly 3m --keep-within-monthly 1y ; restic prune --max-unused 50% --max-repack-size 2G ; restic check" ]
+ args = [ "restic backup $NOMAD_ALLOC_DIR/consul.json && restic forget --keep-within 1m1d --keep-within-weekly 3m --keep-within-monthly 1y && restic prune --max-unused 50% --max-repack-size 2G && restic check" ]
}