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.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
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:
TMPDIR=/othervolume/otherfolder export TMPDIR deja-dup-preferences
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
chmod ugo+rw /home/tmp
ln -s /home/tmp /tmp