Tested with Duplicati 184.108.40.206 on Windows 10 (1709).
This assumes you've already downloaded the and installed the latest Duplicati.
For running Duplicati as a service, I use NSSM, which you can download from here:
- Grab the latest release of NSSM and extract the nssm.exe file to your \Windows\System32 directory.
- Close/exit Duplicati if it is running.
- Open a command prompt and run this to start service creation:
Fill in the fields of the NSSM application:
Path: C:\Program Files\Duplicati 2\Duplicati.Server.exe
Service Name: Duplicati
Display Name: Duplicati 2
Description: Duplicati 2 Backup Service
The last part (Environment) sets Duplicati's working directory to C:\ProgramData\Duplicati. If you leave that out, Duplicati defaults to using \Windows\System32\Config\SystemProfile\AppData\Local\Duplicati, and that location may be lost when upgrading Windows.
For the Tray icon:
- Disable Duplicati from running on Startup, using Task Manager (if using a current build of Windows or Windows Server) or msconfig (if using something like Windows 7 or Windows Server 2008 R2).
- Modify the properties of any Duplicati 2 shortcut and add --no-hosted-server to the end of the command.
- (it will look like this: "C:\Program Files\Duplicati 2\Duplicati.GUI.TrayIcon.exe" --no-hosted-server)
Run the modified shortcut to load the system tray icon.
You should be able to start the service, and it will run automatically in the background on boot. Please remember not to run any of the shortcuts Duplicati makes unless they have --no-hosted-server appended to their command (if not, they will start up an additional service).