How to upgrade from the .zip file (portable mode)

Hello everyone,
I’ve searched the forum, but I haven’t found what I need… That is, how to upgrade Duplicati using the .zip file and not the Windows Installer. I’m using Duplicati in portable mode (by the switch --portable-mode), and I want to keep Duplicati away from Windows Registry and predefined folders.
Is it enough doing this:

- unzip the .zip file to a temporary folder
- navigate the unzipped folder until I reach a file named “Duplicati.GUI.TrayIcon.exe”
- copy all the files and folders that are in the folder containing “Duplicati.GUI.TrayIcon.exe”
- paste them in the analogous folder I find browsing the old version folders
- when Windows asks if I want to merge a directory with an existing one, I answer “Yes”; when it alerts there are already files with the same name, I tell it to overwrite the old files, replacing them with the new ones.

?

How many old version folders do you have, or are you talking about subfolders? Windows File Explorer appears able to copy subfolders, so just direct copy right.

Because I’m not Microsoft, I’d rather not confirm special behavior. Safer is to move previous Duplicati install, make a new one, and copy the previous data folder to it.

Shut down Duplicati first, of course, but if something is missed, renaming will error. Starting with clean install is nice, as it won’t have leftovers if files change someday, however if you keep other files in your Duplicati install (avoid that except for data), then those will get left behind in this fresh-install-plus-stay-with-old-data-folder plan.

I would not do that, you will have a mix of two versions. It may not have negative impacts to have traces of an old version in there, but it is not a great way. There might be some dynamic loading that messes things up if you have older dlls in the folder.

What I would suggest instead is:

  • Rename the current folder to something like “duplicati-old”
  • Move in the new installation folder.
  • Copy the data subfolder from “duplicati-old” into the new folder.

Once it is working, you can delete “duplicati-old”.

Ok, thanks Kenneth. I think what you suggest is much better.