We did attempt at one point, but it is a bit cumbersome to get all the dependencies into debian as well. As everything is platform independent, I would like to just supply all libraries in the correct versions, but that does not really play well with Debian’s package policy.
I have wanted to setup a PPA for some time, but never gotten around to it. That would also make it possible to provide timely updates.
Before starting the service, run the server with a password command:
I tried to run the password command as stated. For me at least, I also had to run the command:
sudo duplicati-server --webservice-interface=any
It seemed a good idea to me to do this in sudo, but maybe not? Possibly obvious, but the password seems to be set for the user running the command.
Lastly, I’m still on Ubuntu 14.04, which is from before systemd was introduced in Ubuntu. Meaning the systemctl-command referred to elsewhere in the forum, does not work yet. I’m sure I’ll be able to figure out how to put it into init.d, but for now I can test it and just keep the server running in screen. I’ll upgrade to a more modern Ubuntu version sometime soon, but I would like a backup I can trust before I do, that’s why I’m here.
My first tries of setting up a backup seems to fail, but I’ll try some different settings before asking for more help.
Beware that this will expose the webserver to the LAN, and possibly the internet depending on your network configuration.
Depends on what you want. But yes, the password and other settings are stored in ~/.config/Duplicati/ so what settings you load depends on the user starting the program.
No problem, it is a very simple script, essentially calling:
Regarding security, are there any issues I should be aware of if I’m opening the server to the internet? The web interface seems secure enough with a decent password, but are there other ways to access Duplicati remotely that is also opened up with this setting?
The http server is by no means security vetted, so I advise against exposing it to the internet. There are no extra things that are opened, and all non-static content requires a password, but I would not expose it to the internet myself.
BTW: A good way of showing your appreciation for a post is to like it: just press the button under the post.
If you asked the original question, you can also mark an answer as the accepted answer which solved your problem using the tick-box button you see under each reply.
All of this also helps the forum software distinguish interesting from less interesting posts when compiling summary emails.