Today I installed duplicati 2.0.21-1 on my backup server (debian jesse). This server is headless. I’m going to be backing up 2 systems: one a OpenSuse 42.3 system, the other a Windows 10 system. All three systems are on a local subnet–192.168.1.* with static IP addresses.
I want to do the backups etc. from the OpenSuse system.
Questions:
What do I have to do on the duplicati server to enable remote access?
Once that is done, what do I have to do on the OpenSuse system to access the duplicati webpage?
Many thanks,
MarkN
I tested the install and browsed to http://192.168.1.5 and got the “Apache2 Debian Default: It works!” page.
Now, I’m feeling really dumb…how do I start duplicati from the remote system? “http://192.168.1.5/duplicati” does not exist.
Yes, Opensuse uses ufw, but I don’t use it. I disabled and uninstalled it. when I ran:
#ufw status
I got “command not found”. I also checked the Debian system where duplicati is found. iptables is used as the “firewall” and there are no rules defined, so nothing is blocked there.
The service could be using 8300 or 8400 if for some reason it could not allocate 8200 when it was launched - or if it was provided with parameters to using a nonstandard port
OK. I entered: #sudo lsof -i :8200 | grep LISTEN
and got no output…even without piping to grep.
Also tried with :8300 and :8400, and no output in all cases.
Are you talking about the Debian system which houses duplicati? Since the Debian server is running headless, (I ssh into it to do admin stuff) how can I tell if the appropriate remote access is available?
I believe the Allow remote access option is equivalient to --webservice-interface=any. You’ll probably have to edit your systemd unit file to append it for the startup parameters if you have no way to access the web page locally (e.g. RDP to the server, or using SSH port forwarding).
While you’re in there I’d make sure to also specify the port just to be safe --webservice-port=8200 --webservice-interface=any
I’m very confused at this point. If it’s not listening on any of the default ports I’d be guessing that it for some reason has a custom port specified or that the process wasn’t even running.
Sorry, but I don’t know how to do what you are asking.
Is this helpful? In /etc/systemd/system there are:
duplicati@.service
duplicati.service
All the lines in duplicati.service are commented out. Here is its contents:
When you run systemctl status duplicati it will tell you if it’s running and where it loaded it’s unit file from (mine says /lib/systemd/system/duplicati.service).
That file should be the one to look in for configuration. It will probably be the 2nd file you listed, since it looks a lot like mine.
It’s hard with headless server setups because you never know what level of experience to expect from the reporter. An article explaining all the steps might make it a lot easier