How can I set Déjà Dup to keep backups for less than six months?

Solution 1:

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"