I’m setting up duplicacy on an ubuntu (18.04) server and I can’t seem to get duplicacy to store the passwords in the gnome keyring. I previously used duplicacy on a NAS running on some old version of Debian and (as far as I can remember) I didn’t have problems with it remembering the passwords. Now on this ubuntu machine I don’t know what’s going on. It asks me to enter both the WebDAV password and the storage password everyt single time.
Apart from the different version of Linux, I think the only difference is that on the old NAS I was logged in as root and now I’m logged in with my user name and do
sudo duplicacy backup. I don’t know how exactly gnome keyring works, but I suspect that when I use
sudo, duplicacy doesn’t have access to my keyring? But wait, I also did the
init with sudo and I ran
sudo multiple times. So shouldn’t the passwords be saved in the root user’s keyring?
Edit: Just to make keep this topic focussed on the main question, I’ll mention that the following workaround seems to work for me:
Save the webdav password in the
sudo duplicacy set -key webdav_password -value ***********
and save the storage password there too:
sudo duplicacy set -key password -value ***********
sudo duplicacy -background -log backup -stats &> /srv/NAS/duplicacy/logs/backup.log & works fine.
I’m also mentioning in case someone is having the same problem and is happy with this fix. But I would still like to know how to get this to work with the gnome keyring.