Skip to content
Snippets Groups Projects
Commit 69915926 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

backup last for 10D

parent c858687c
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ ExecStartPre=/bin/bash -euxc ' \
-e PASSPHRASE \
-v /root:/root \
indiepaas/duplicity \
remove-older-than 2W --force \
remove-older-than 10D --force \
sftp://${BACKUP_DESTINATION}/%i'
ExecStartPre=/bin/bash -euxc '/data/domains/%i/BACKUP'
ExecStart=/bin/bash -euxc ' \
......
......@@ -17,7 +17,7 @@ ExecStartPre=/bin/bash -euxc ' \
-e PASSPHRASE \
-v /root:/root \
indiepaas/duplicity \
remove-older-than 2W --force \
remove-older-than 10D --force \
sftp://${BACKUP_DESTINATION}/%i'
ExecStartPre=/bin/bash -euxc '\
if [ -d /data/domains/%i/mysql ]; then \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment