Package: backupninja Version: 0.9.6-4 Severity: normal Tags: patch Hi.
The cache dir in /root/.cache/duplicity tends to grow dangerously (see other problems already reported in #572523). It is even re-populated with old full backup data that aren't any more necessary and likes. As discussed in thread concluded by http://lists.gnu.org/archive/html/duplicity-talk/2010-02/msg00012.html, it's necessary to use cleanup with --extra-clean to avoid this, IMHO. The duplicity manpage explains : --extra-clean When cleaning up, be more aggressive about saving space. For example, this may delete signature files for old backup chains. This is exactly what needs to be added for the dup handler, IMHO. The patch looks like (assuming #572495 already fixed) : --- /usr/share/backupninja/dup~ 2010-03-04 19:00:28.000000000 +0100 +++ /usr/share/backupninja/dup 2010-03-05 22:29:00.000000000 +0100 @@ -214,12 +214,12 @@ # cleanup if [ "$duplicity_major" -ge 0 -a "$duplicity_minor" -ge 4 -a "$duplicity_sub" -ge 4 ]; then - debug "$precmd duplicity cleanup --force $execstr_options $execstr_serverpart" + debug "$precmd duplicity cleanup --force --extra-clean $execstr_options $execstr_serverpart" if [ ! $test ]; then export PASSPHRASE=$password output=`nice -n $nicelevel \ su -c \ - "$precmd duplicity cleanup --force $execstr_options $execstr_serverpart 2>&1"` + "$precmd duplicity cleanup --force --extra-clean $execstr_options $execstr_serverpart 2>&1"` exit_code=$? if [ $exit_code -eq 0 ]; then debug $output Thanks in advance. Best regards, -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages backupninja depends on: ii bash 4.1-1 The GNU Bourne Again SHell ii bsd-mailx [mailx] 8.1.2-0.20090911cvs-2 simple mail user agent ii dialog 1.1-20080819-1 Displays user-friendly dialog boxe ii gawk 1:3.1.6.dfsg-4 GNU awk, a pattern scanning and pr ii mawk 1.3.3-15 a pattern scanning and text proces backupninja recommends no packages. Versions of packages backupninja suggests: ii cdrdao 1:1.2.2-18.1 records CDs in Disk-At-Once (DAO) ii debconf-utils 1.5.28 debconf utilities ii dvd+rw-tools 7.1-6 DVD+-RW/R tools ii genisoimage 9:1.1.10-1 Creates ISO-9660 CD-ROM filesystem ii hwinfo 16.0-2 Hardware identification system ii mdadm 3.0.3-2 tool to administer Linux MD arrays ii rdiff-backup 1.2.8-6 remote incremental backup ii wodim 9:1.1.10-1 command line CD/DVD writing tool -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org