** Branch linked: lp:ubuntu/precise-proposed/duplicity -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to duplicity in Ubuntu. https://bugs.launchpad.net/bugs/1005901
Title: cannot change temp dir Status in Duplicity - Bandwidth Efficient Encrypted Backup: Fix Released Status in “duplicity” package in Ubuntu: Fix Released Status in “duplicity” source package in Precise: Fix Committed Bug description: SRU justification : Duplicity does not honor the TMPDIR, TEMP, TMP or --tempdir redirection as expected. Impact : If the available size in /tmp is too small, restore may fail to complete Fix : Backport upstream fix applied in 0.6.21 (Merge proposal from the upstream task of this bug) Test Case : Note: Incremental backup is necessary so both the full & difftar are required in /tmp which will require more than 50Mb 1) Mount a 50Mb file system under /tmp ~# df -h /tmp Filesystem Size Used Avail Use% Mounted on /dev/sda1 48M 794K 45M 2% /tmp 2) Create a 60Mb file to be backed up under /srv called data dd if=/proc/kcore of=/srv/data bs=1M count=60 3) Do a full backup of /srv into /backup duplicity full --name test --encrypt-key A6C785C2 --sign-key A6C785C2 --volsize 25 /srv file:///backup/duply 4) Modify the 60Mb file so it can be picked up by the incremental backup dd if=/proc/kcore of=/srv/data bs=1M count=10 conv=notrunc oflag=append 5) Do an incremental backup duplicity incr --name 'duply_test' --encrypt-key A6C785C2 --sign-key A6C785C2 --volsize 25 /srv file:///backup/duply 6) Restore the flag using TMPDIR : TEMPDIR=/mytemp duplicity --name 'duply_test' --encrypt-key A6C785C2 --sign-key A6C785C2 --verbosity '4' --volsize 25 -t now file:///backup/duply /restore With the patch, the command will succeed. Regression : None expected, this code is used in the version currently available in Raring Description of the problem : When /tmp is too small, duplicity is sometimes unable to do a restore. Using TMPDIR variable or --tempdir doe not work. To manage notifications about this bug go to: https://bugs.launchpad.net/duplicity/+bug/1005901/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp