Use the new backup container
This commit is contained in:
parent
4d170d5a29
commit
df083275d3
2 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ ExecStartPre=/bin/bash -euxc ' \
|
|||
-v /root:/root \
|
||||
indiepaas/duplicity \
|
||||
remove-older-than 10D --force \
|
||||
sftp://${BACKUP_DESTINATION}/%i'
|
||||
sftp://${BACKUP_DESTINATION}//data/%i'
|
||||
ExecStartPre=/bin/bash -euxc '/data/domains/%i/BACKUP'
|
||||
ExecStart=/bin/bash -euxc ' \
|
||||
/bin/docker run \
|
||||
|
@ -33,5 +33,5 @@ ExecStart=/bin/bash -euxc ' \
|
|||
--asynchronous-upload \
|
||||
--encrypt-key ${ENCRYPT_KEY} \
|
||||
/backup \
|
||||
sftp://${BACKUP_DESTINATION}/%i'
|
||||
sftp://${BACKUP_DESTINATION}//data/%i'
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ ExecStartPre=/bin/bash -euxc ' \
|
|||
-v /root:/root \
|
||||
indiepaas/duplicity \
|
||||
remove-older-than 10D --force \
|
||||
sftp://${BACKUP_DESTINATION}/%i'
|
||||
sftp://${BACKUP_DESTINATION}//data/%i'
|
||||
ExecStartPre=/bin/bash -euxc '/data/domains/%i/BACKUP'
|
||||
ExecStart=/bin/bash -euxc ' \
|
||||
/bin/docker run \
|
||||
|
@ -34,5 +34,5 @@ ExecStart=/bin/bash -euxc ' \
|
|||
--asynchronous-upload \
|
||||
--encrypt-key ${ENCRYPT_KEY} \
|
||||
/backup \
|
||||
sftp://${BACKUP_DESTINATION}/%i'
|
||||
sftp://${BACKUP_DESTINATION}//data/%i'
|
||||
|
||||
|
|
Loading…
Reference in a new issue