Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to backup my home directory (excluding a few folders). The backup is saved on a ~300 GB partition (called backups) of an internal drive, but not the same drive as the home directory. When I try to backup, everything goes OK until at some point Déjà Dup says there is no space left on "backups". The problem is that Déjà Dup only used ~20 GB at this point, so there is a ton of space left. I tried several times without luck.

Why is Déjà Dup saying this?

The size of my home directory, without the excluded folders, is 136 GB.

share|improve this question

5 Answers 5

up vote 8 down vote accepted

So there are three possible places where Deja Dup might be out of space, and I don't think its error message tells you which. There is a bug filed about that.

  • You may have run out of space on the target partition (which it sounds like you didn't)
  • You may have run out of space in your home directory (~/.cache/deja-dup can get large)
  • You may have run out of space in /tmp
share|improve this answer
1  
Strange that it explicitly says that "backups" is out of space although the problem it's in another partition. I'll try to free some space in my home directory and in /tmp. Thanks –  Gerard Abello Oct 16 '11 at 17:02
    
It worked like a charm. Thanks –  Gerard Abello Oct 16 '11 at 20:47

You can move the location of the cache-directory as follows (create a symlink to a new cache location)

mkdir /othervolume/.deja-dup-cache
mv ~/.cache/deja-dup/* /othervolume/.deja-dup-cache/
rmdir ~/.cache/deja-dup
ln -sf /othervolume/.deja-dup-cache ~/.cache/deja-dup

to change the location of the tmp-directory have a look at the following post: Deja Dup backup, change use of /tmp to another folder/location

share|improve this answer
    
Hi, this is something I'd like to do as my .cache directory keeps filling up. Will moving my deja-dup-cache to the same volume I'm backing up pose a security risk to an encrypted backup. My Home is encrypted but my backup volume is not. –  nhorning Nov 17 at 6:11

I had the same problem

I had >900Gb left on the partition, 13Gb left on the cache folder in ~ and /tmp contained only 13 Kb

I solved the problem just by rebooting

share|improve this answer

I am operating my root system on an SSD drive, and once read an article about swapping certain folders like /tmp, /var/log, and so on to RAM, which lowers your potential RAM space and the size of the /tmp folder. Exactly this swapping of my /tmp folder caused the no space left error in Deja Dup.

Here is what I did to my fstab back then (sorry, it's in German).

...and parts of the code to put in fstab:

tmpfs   /tmp    tmpfs   nosuid  0   0

So if you made the same changes to your fstab in order to improve performance, simply undo it like this:

# tmpfs /tmp    tmpfs   nosuid  0   0
share|improve this answer

You might try formatting your backup partition as NTFS.

I had exactly the same error when these two conditions came together:

  • the backup partition is formatted as FAT.
  • the backup included huge files such as virtual hard disc images for VirtualBox.

Formatting the backup partition as NTFS resolved the problem in my case.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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