Use the new backup container

This commit is contained in:
pierreozoux 2015-10-08 10:10:50 +01:00
parent 4d170d5a29
commit df083275d3
2 changed files with 4 additions and 4 deletions

View file

@ -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'

View file

@ -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'