Hi,
for many years I have been using Duplicati for backing up my Windows PC. It has worked silent and very reliable. I was running 2.0.8.x(?) and thought I might be a good time to upgrade to the current stable release which didn’t work as intended.
I can no longer connect over localhost:8200 to my Duplicate instance. I mangaged to start the service, but I am failing to login. I tried to set a pass phrase as described in the documentation but I am still not able to login - authentication failure.
Also my backup schedule is missing.
Login over the tray does work, but since I need to backup other users as well, this will not help me. Instead, I need the service to be able to backup all users of our family.
Sounds like you did a service install such as Duplicati.WindowsService install.
Which part of documentation? For default Windows service, do below as elevated admin while the service is up. This will (with help from a database) give server a new password.
If you do it some other way, you might have changed a password for a non-service install.
How do you know if you can’t login? The service is not an ordinary Duplicati-run-as-you. From wherever you are seeing that, you can check About → System info to look at the StartedBy and the UserName. If it’s Tray icon and you, you’re not in the root service.
Maybe I misunderstand, but for backup of all users, a Windows service is a good option.
This also suggests you’re in the wrong Duplicati, as to connect TrayIcon to a service, the --no-hosted-server option is used to keep it from just talking to itself, as starting user.
Unfortunately the Open menu option in this use fails in 2.1.0.5, but there’s a workaround.
I was mislead because I looked at section “Using Duplicati with Windows” as well as “Server”. I did come across “Change password with ServerUtil” but thought this is applicable if I lost my password and not for Windows Server. Down below Windows Server is mentioned but this is confusing because there is another section with setting up Duplicati on Windows which told me to do otherwise - for good reasons, as I know now.
And yes, you understood correctly, I need to backup all users of our family PC.
The only thing remains is that my backup job did not return when I logged into the Server. Is there a way to restore the backup job from a backup and continue the backup?
There are also file backups made (just file copies left in folder) when the version of a database changes (as it does from 2.0.8.x to 2.1), as a safeguard if an upgrade fails.
One challenge is that 2.0 on Windows encrypts DB, so ordinary tools can’t see inside.
Duplicati (for example 2.0.8.1) can, and can also do the export you may wish you had.
Downgrade from 2.1.0.2 to 2.0.8.1 explains that plan. What’s supposed to happen at Duplicati update time is some just-in-case backups, and all the configs get converted.
What’s especially weird is one recent case where the backup configs were somehow missing from the backup copy of Duplicati-server.sqlite from before the Duplicati work.
I can point to that mystery which wound up OK, as user didn’t have any fancy options, simply looked at a backup’s contents in a restore tree to infer what Source had been).
What I’d prefer is developer input, but things have been pretty busy around here lately.
There has been at least on report of this happening, but also many reports of it working correctly: all configurations are available after upgrade.
Generally, Duplicati will store the settings in the database file Duplicati-server.sqlite. When making an upgrade change (there were 2 going from 2.0.8.1 to 2.1.0.5) it will make a backup of that file, appending a timestamp to the filename.
You can search your system for Duplicati-server.sqlite files to see if there is somehow a quirk where it looks in a different folder, or perhaps locate some of the backup database files.
I finally set up a new backup and saved the old backup files in case I need to restore something from it. Duplicati is now back in operation and I exported the job this time for later usage.