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.

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 live.gnome.org/DejaDup/HowItWorks 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
add comment

1 Answer 1

up vote 2 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:

Screenshot

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
3  
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
add comment

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.