summaryrefslogtreecommitdiff
path: root/d-backup
diff options
context:
space:
mode:
Diffstat (limited to 'd-backup')
-rwxr-xr-xd-backup1
1 files changed, 1 insertions, 0 deletions
diff --git a/d-backup b/d-backup
index 090b672..dbc800f 100755
--- a/d-backup
+++ b/d-backup
@@ -27,6 +27,7 @@ EOF
backup() {
duplicity cleanup --force "$TARGET"
+ duplicity remove-all-but-n-full 3 --force "$TARGET"
duplicity \
--exclude-filelist "$HOME/.duplicity-exclude" \
--full-if-older-than 2M \