diff --git a/unit-files/backup-u@.service b/unit-files/backup-u@.service index a1e619b1f978d0878c89d0fcd2f9e3017a3f3be2..ba85702052585c0395a469052a85a7acd1e21fd7 100644 --- a/unit-files/backup-u@.service +++ b/unit-files/backup-u@.service @@ -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 ' \ diff --git a/unit-files/backup@.service b/unit-files/backup@.service index 0109e21fa388a8b52f9710a31055f13b01a184f2..0452545e5c90690e161ef611e3cf343e954c0f6c 100644 --- a/unit-files/backup@.service +++ b/unit-files/backup@.service @@ -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 \