Alright, this is weird.
I made the change to duplicati.service you suggested and it was working.
I had copied my ~/.config/Duplicati folder to /root/.config/Duplicati (so I didn’t have to recreate my profiles, etc) and was having success.
Then I wanted to pause duplicati and try to play some games (something is eating up my ram; is it mono-sgen, which keeps auto-spawning). I’m never to confident in the pause function, as it still displays transfer rates.
So I stopped the upload, then disabled and stopped duplicati.
When I restarted duplicati, my backup’s configuration was missing the source dirs added and other advanced option configurations changed while I was (I assume) running it as root.
It reverted back to running as a user. I can confirm this because:
- removing contents of /home/user/.config/Duplicati removed my backup profiles from the web interface
- copying contests of /root/.config/Duplicati to /home/user/.config/Duplicati reverted to the source dirs, advanced settings, etc I had changed while running as root.
my duplicati.service file:
ExecStart=/usr/bin/mono /opt/duplicati-latest/Duplicati.Server.exe --webservice-port=8200
EDIT: It looks like I got it working again. I think what did it (but I’m not sure) is su to root, then start the service. Sudo systemctl didn’t seem to do it… which doesn’t seem quite right.