Restore configuration from /.config/Duplicati on Ubuntu 18.04

I was using Duplicati quite successfully and and changed the login to a multiuser system on Ubuntu 18.04 and the configuration has vanished. the Config is still there in .config/Duplicati but I cannot seem to import it. Any suggestions?


Usually if it appears the config vanished, it’s because you’re now looking at Duplicati running as a different user. You also may have multiple instances running. Can you try running this command and showing us the output?

netstat -anop | grep -P ':8\d00'


Here is the output
rcblach@chipslinux:~$ netstat -anop | grep -P ‘:8\d00’
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0* LISTEN - off (0.00/0/0)
tcp 0 0 ESTABLISHED 17191/firefox keepalive (8.56/0/0)
tcp 0 0 ESTABLISHED - off (0.00/0/0)

Can you repeat the command using sudo?

Same thing,

sudo netstat -anop | grep -P ‘:8\d00’
[sudo] password for rcblach:
tcp 0 0* LISTEN 5456/mono-sgen off (0.00/0/0)
tcp 0 0 ESTABLISHED 5456/mono-sgen off (0.00/0/0)
tcp 0 0 ESTABLISHED 17191/firefox keepalive (6.78/0/0)


Ok it looks like you only have one instance running.

Did you change how you start Duplicati? (And by this I mean what user it starts up as.) How did you start it before, and how are you starting it now?

Yes I did, I changed from single user to multiple users


Yes, I did see that mentioned above but I don’t really know what that means as far as Duplicati starting up.

Let’s try this from a different approach. Can you check /root/.config/Duplicati and see if there are files there? And then check each /home/<username>/.config/Duplicati to see which users have files there?

ALSO - how do you want Duplicati to behave on this multiuser system. Do you want there to be one instance run by root? Or do you want each user to have their own separate, configurable instance of Duplicati?

For right now, just the one instance run by me


Here are the root files
rcblach@chipslinux:~$ sudo ls -l /root/.config/Duplicati
total 76
drwxr-xr-x 2 root root 4096 Feb 13 13:48 control_dir_v2
-rw------- 1 root root 69632 Feb 14 14:25 Duplicati-server.sqlite
-rw-r–r-- 1 root root 0 Feb 13 13:54 suppress_donation_messages.txt

But I want it run off my home directory
rcblach@chipslinux:~$ ls -l .config/Duplicati/
total 1377940
drwxrwxr-x 2 rcblach rcblach 4096 Feb 13 09:56 control_dir_v2
-rw------- 1 rcblach rcblach 69632 Feb 13 10:55 Duplicati-server.sqlite
drwxrwxr-x 2 rcblach rcblach 4096 Feb 13 09:56 updates
-rw------- 1 rcblach rcblach 1410928640 Feb 13 10:20 VLVEWNYGYZ.sqlite

Which Hopefully would have my old config files


Ok that’s good info. Next, let’s see if systemd is configured to run it as a service. Can you run this command and show me the output:

$ systemctl status duplicati

systemctl status duplicati
● duplicati.service - Duplicati web-server
Loaded: loaded (/lib/systemd/system/duplicati.service; disabled; vendor preset: enabled)
Active: active (running) since Sat 2021-02-13 16:27:46 MST; 2 days ago
Main PID: 5449 (Main)
Tasks: 15 (limit: 4915)
CGroup: /system.slice/duplicati.service
├─5449 DuplicatiServer /usr/lib/duplicati/Duplicati.Server.exe
└─5456 /usr/bin/mono-sgen /usr/lib/duplicati/Duplicati.Server.exe

Feb 13 16:27:46 chipslinux systemd[1]: Started Duplicati web-server.

Ok, it shows as disabled so it shouldn’t be starting automatically. Are you manually starting the systemd service using systemctl start duplicati ?

Based on what you’ve told me, I would think you should not run the systemd service and instead have Duplicati start when rcblach logs in.

How do I get Duplicti to start when I log in


Depends on your Linux distribution and what windowing system you are using. Look around for a way to configure startup applications, and then have it start the Duplicati TrayIcon process after logon.

I am running ubuntu 18.01

Try this: Startup Applications

Thanks that worked, :slight_smile: restart as user

Next question, is how do I backup my configuration?



My preference for backing up the configuration is to export the jobs as json files. From the main menu, click on a job and then click Export. The default is to export to file (json) and include passwords. Adjust to your liking. Store this file in a safe place!

I also save all the global/default settings. From the main menu, click Settings, scroll down to the Default options area, and click the blue “Edit as text” link on the right. Copy the entire contents of this box and paste it into an empty text file. Store in a safe place.