How to delete all the settings for Deja Dup

When I upgraded to 11.04 Deja Dup started behaving strangely, it would begin a new full backup everytime the computer was started because it was looking for a drive and folder which I had removed some months earlier. Deja Dup had behaved perfectly normal under 10.10, but the upgrade seems to have it using old settings.

So I was wondering how can I purge all the configuration files and folders so that next time I reinstall Deja Dup it starts using and remembering the settings I want? I can not find any folders in /home/username/.config or in the home folder, but on each install something is telling Deja Dup to look at old settings.

Any help would be great!


Solution 1:

Déjà Dup is the front-end for the duplicity program, Duplicity stores its data in ~/.cache/duplicity. That folder can safely be removed, if you connect with an earlier backup, those files will be recreated from the backup.

Settings for Déjà Dup are stored in dconf. (source: Where is the configuration for dejadup stored?).

To quote Michael Terry:

Hello! The configuration for Deja Dup is stored in dconf, which you can view with dconf-editor (which in Ubuntu is available in the dconf-tools package).

However, to view or edit your saved passwords, you should use the Passwords & Encryption Keys preference utility that comes with GNOME. That stores saved passwords for remote sites as well as the encryption password that Deja Dup saves if you chose to encrypt your backup.

As for system-wide settings, the configuration can be purged by running:

sudo apt-get purge deja-dup

Solution 2:

To reset your deja-dup config you can use the following command on a terminal

From Ubuntu 10.10

dconf reset -f "/org/gnome/deja-dup/"

Until Ubuntu 10.04

gsettings reset-recursively org.gnome.DejaDup