As the title suggests, I'd like to force Deja Dup to use a folder other than /tmp.

My backups fail due to size size restrictions, see bug: https://bugs.launchpad.net/deja-dup/+bug/1033552

Any help will be greatly appreciated.

Thanks in advance.

  • Still sitting without a backup solution. Any help that solves the question will be greatly appreciated. – Brendan Oct 1 '12 at 14:59
  • 1
    possible duplicate of Backup no longer working – hhlp Dec 28 '12 at 17:03

The above solution works, but is generally not a really good option if you just want to change the tmp-Folder of the deja-dup process! Also I wouldn't sacrifice tmpfs because of this issue.

Since deja-dup uses duplicity as its backend to make the actual backup, the problem has to be solved for duplicity. Duplicity uses the environmental variable TMPDIR which normally points to /tmp

To change the location of the TMPDIR for duplicity (deja-dup), simply open the terminal and run:

export TMPDIR
| improve this answer | |

1.disable tmpfs:

sed -i "s/^\(RAMTMP\=\).*/\1no/" /etc/default/rcS


3.make a new temp dir in the partition that have more space. eg I will use the home dir with the appropriate permissions for read and write, and made a symbolic link to /tmp

mkdir /home/tmp
chmod ugo+rw /home/tmp
ln -s /home/tmp /tmp

| improve this answer | |
  • 1
    Thanks for your reply, however I DO NOT want to stop using tmpfs, rather I want to change the location that deja dup uses. I get a major performance boost using tmpfs and don't want to sacrifice that just to use deja dup. – Brendan Sep 23 '12 at 4:24
  • Not everybody puts /home into a different partition, mainly because it becomes a partitioning pain if you wrongly guessed the amount of space you will need. Can you modify this advice for people like me who like to let all the files compete for the space they need? – Hedley Finger Apr 2 at 1:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.