Deja-dup (now Ubuntu Backup) is just a GUI for duplicity, therefore it should store the config files somewhere. I would like to changed the backup volume size to something like 300MB and the increase the --full-if-older-than variable. is this possible?
4 Answers
The deja-dup settings can also be changed with dconf-editor
in the dconf-tools
apt package. The settings are in org.gnome.DejaDup
.
-
2+1 for best answer since Deja Dup / duplicity does not have its own config files anymore. Note: Schema org.gnome.DejaDup equals org > gnome > deja-dup in the dconf editor tree view :) Dec 16, 2014 at 8:14
-
3Great answer, though caution: Opening the "Backups" app in Ubuntu and closing it again may cause some settings to revert. For example, using the
dconf-editor
I set backups to be kept at least 90 days (instead of the minimum available in the GUI app of 6 months). When I opened the app, it showed 90 days. But when I closed it and re-opened, it had reverted to 6 months.– DavidOMar 9, 2015 at 22:59 -
-
@LostCrotchet if you find them, please propose an edit or comment here and I'll edit the answer.– drevickoJul 8, 2022 at 3:51
Instead of using dconf-editor
, you can use gsettings
from command line.
See all the options (keys) within the Deja-Dup schema, and their configurations:
gsettings list-recursively org.gnome.DejaDup
Edit keys:
gsettings set SCHEMA [:PATH] KEY VALUE
For example:
gsettings set org.gnome.DejaDup include-list ['$HOME']
-
I get: No such schema “org.gnome.DejaDup” when trying those commands, on Ubuntu 18.04 Jun 24, 2022 at 10:17
This has changed in various Déjà Dup versions, but I believe it is currently at:
~/.gconf/apps/deja-dup/
What can't you change using the GUI front-end?
UPDATE
from: launchpad.net: How do I also backup my deja Dup settings?
The settings used to be stored there, and the files are still present.
In more recent version they are stored in:
~/.config/dconf
-
I'd like to increase the volume size and be more conservative with full backups (once every 6 months or so). I checked the location you mention but I cannot find where this parameters are kept. Any ideas?– ECIIJun 3, 2012 at 5:07
-
-
The settings are in file '~/.gconf/apps/deja-dup/%conf.xml', but that is only for experts.– david6Jun 3, 2012 at 6:34
-
1These are more likely to be settings in scripts (for Duplicity) that are used by Déjà Dup. see: live.gnome.org/DejaDup/HowItWorks OR help.ubuntu.com/community/DuplicityBackupHowto (I would need to do more research to answer better.)– david6Jun 3, 2012 at 7:14
-
3The UI is inconvenient at best: it is very small and not resizable (12.04), and does not expose .* files/directories, many of which contain big caches or logs not needing to be backed up.– FGMDec 29, 2014 at 10:12
fwiw, added a dconf setting if you build this from source, it will create a volsize setting in org.gnome.DejaDup. you can change it to 500mb with dconf-editor.
-
2Amazing, the volume size of backup files is hardcoded! bazaar.launchpad.net/~peter-bsqt/deja-dup/volsize/revision/1548/…. So the answer to the actual question is: No, there is no config option. Oct 13, 2015 at 12:38
~/.config/dconf
or~/.gconf/apps/deja-dup/*
, and for those searching for the dconf-editor you must look for SETTINGS EDITOR instead. It might be interesting for the ASKUbuntu Community to try to apply rules of OpenSource Community Philosophy, which means declare obsoleted or need to being confirm when a new version of Ubuntu is on.