By default port tunneling is disabled, so the script enables it and restarts sshd daemon at the very end. The secure enough workaround, until that is fixed, is to keep it accessible on a loopback only and reach the UI via SSH port tunneling. It can be configured to listen on your LAN adapter instead but this is undesirable due to this issue. Important notes Listening addressīy default, Duplicacy Web is listening on a loopback interface so that only local users can connect. To upgrade or downgrade duplicacy version modify the DUPLICACY_WEB_VERSION environment variable in the beginning and run the script again. Read through and run the script to install and start the daemon.It is trivial to modify the script to store data elsewhere if homes service is undesirable. Duplicacy configuration will be stored in the home folder of the user defined in step 1. Give that user permissions to read the folders intended to be backed up.Modify the script accordingly if a different username is desired. Create the limited user duplicacy for the daemon to run under. The script below downloads the specified duplicacy executable and configures it to run when the network and storage are up. Synology DSM 6.xx uses upstart to manage services. It can be used as-is, or to be used as a starting point for your customizations and to illustrate various techniques. In this article I describe the simple script to download and install duplicacy_web as a service on a Synology Diskstation natively, without the aid of docker. Acrosync’s Duplicacy is a powerful backup program that I’m using extensively on a variety of devices, including the Synology Diskstation in the docker container.ĭocker on Synology however suffers from annoying issues, including but not limited to incorrect resource usage reporting and while the overhead of managing user IDs and configuration data is worthwhile for applications that benefit from dependencies isolation docker provides duplicacy does not require nor benefits from it: both Web UI and command-line engine are written in Golang and are self-contained executables.įurthermore, some Synology devices do not run docker – and yet duplicacy would work just fine on them.
0 Comments
Leave a Reply. |