Déjà Dup – How to Set Backups for Less Than Six Months

backupdeja-dup

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?

Best Answer

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"