Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Déjà Dup allows me to choose whether to keep backups for six months, a year, or forever.

Screenshot showing three options

How do I choose to keep backups for less than six months, say, three months, or even more?

share|improve this question
Hmm intriging: here they speak of "keep backups" "monthly" ... Settings seem to be stored in '~/.gconf/apps/deja-dup/%conf.xml but it is not very nice to go through ;) – Rinzwind Jan 21 '13 at 13:43
up vote 4 down vote accepted

You need to modify the Dconf setting at path /org/gnome/deja-dup/, schema org.gnome.DejaDup, key name delete-after. It's set to the number of days to keep backup files on backup location.

For example, to set it to 60 days from the command line, run:

gsettings set org.gnome.DejaDup delete-after 60

You can also do this from dconf-editor:


The Backup Déjà Dup utility reacts well to this change, adding it as an option:

Screenshot of "Keep backups" option, showing new option "At least 60 days"

share|improve this answer
Note that Deja Dup internally tries to keep at least two full backups on the backup location. So if you want to set a lower custom delete-after value, you should also lower the full-backup-period key to about half that. – Michael Terry Jan 30 '13 at 15:30

Your Answer


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.