From aa8ace6bee29d9ee5cf8996a9545c8b7992f8be7 Mon Sep 17 00:00:00 2001
From: Pierre Ozoux <pierre@ozoux.net>
Date: Thu, 5 Mar 2015 16:44:08 +0000
Subject: [PATCH] Makes a weekly full backup

Solves *** buffer overflow detected ***: gpg terminated
---
 unit-files/backup@.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/unit-files/backup@.service b/unit-files/backup@.service
index 3c8951e..7c631ad 100644
--- a/unit-files/backup@.service
+++ b/unit-files/backup@.service
@@ -33,6 +33,7 @@ ExecStart=/bin/bash -euxc ' \
     -h backup.container \
     -v /root:/root \
     -v /data/domains/%i:/backup pierreozoux/duplicity \
+      --full-if-older-than 1W \
       --encrypt-key ${ENCRYPT_KEY} \
         /backup \
         sftp://${BACKUP_DESTINATION}/%i' 
-- 
GitLab