I have added the following shortcut in the “target” box of the shortcut for the tray icon:
“C:\Program Files\Duplicati 2\Duplicati.GUI.TrayIcon.exe” –no-hosted-server
But when I start it, it still opens up port 8300 in the browser.
Sorry to hear the script didn’t work for you. Did you get any error messages running it? Did the script propose the correct source and destination paths before the copy process started?
No, it didn’t show any errors it actually all went fine and the databases where copied. But I still had to export the settings from the browser 8300 to the browser with the port 8200. Then I actually had to copy the database files to the new location and edit the “Local database path:” so it would point to the right database file. Then I just repaired the database, just to be on the safe side.
I suppose @JonMikelV answered that question sufficiently. In addition to that, optionally add --hosturl=http://127.0.0.1:8200 (replace with address and port Duplicati server is actually running with) to connect to the correct instance.
Actually @JonMikelV suggestion won’t work for me, see above. Sorry for being kind of stupid but where do I add “–hosturl=http://127.0.0.1:8200”?
Also, a last small question, very often when I open the page “http://localhost:8200/ngax/index.html#/” the following message pops up in the middle of the monitor: Missing XSRF Token I just hit OK and the backup works but how can I get rid of the message?
Best Regards