From 1312b0254bb782c938c3e1b3dcd2ebc28f24832b Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Mon, 11 Aug 2014 11:45:40 +0000 Subject: [PATCH] backup: dont remove old increments because then we lose the backup history right before the last full backup, instead let them disappear along with full backups when a whole chain becomes very old --- management/backup.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/management/backup.py b/management/backup.py index 4a72f5b9..82118ec6 100755 --- a/management/backup.py +++ b/management/backup.py @@ -79,19 +79,6 @@ shell('check_call', [ "file://" + backup_duplicity_dir ]) -# Remove old increments. This deletes incremental data obsoleted by -# any subsequent full backups. -shell('check_call', [ - "/usr/bin/duplicity", - "remove-all-inc-of-but-n-full", - "1", - "--archive-dir", "/tmp/duplicity-archive-dir", - "--name", "mailinabox", - "--force", - "--verbosity", "warning", - "file://" + backup_duplicity_dir - ]) - # Remove duplicity's cache directory because it's redundant with our backup directory. shutil.rmtree("/tmp/duplicity-archive-dir")