Missing backup configs

Duplicati installed as a systemd service on Archlinux via the AUR package duplicati-beta-bin.
Like many others I didn’t read the changelog and was confused when I couldn’t log in, but I’m now running duplicati-server with SETTINGS_ENCRYPTION_KEY and can log in.

However, all the backup configs are gone. I can open /var/lib/duplicati/Duplicati-server.sqlite and see that the configurations are still there, but they don’t appear in the UI.
It looks like the new databases are in /var/lib/duplicati/.config, but they weren’t moved automatically. Is there a migration path I should be following?
Thanks!

Welcome to the forum @Context

Your question can likely be best answered at the link you posted. AUR makes this package.

They used to be quite different, such as making duplicati user and running as it, not root.

This helps security but hurts backup and restore, so some people run as root. Are you one?

If you want to try to guess at current setup, you can start with their unit file, e.g. you can run:

systemctl status duplicati

to find their unit file to look at. They also used to have /etc/default/duplicati force DB location.

DUPLICATI_HOME can do that, likely explaining the old databases being in /var/lib/duplicati

New location might be ~duplicati/.config but Duplicati’s default spot is ~user/.config/Duplicati

Just to clarify, the SETTINGS_ENCRYPTION_KEY protects the on-disk Duplicati-server.sqlite.
The --webservice-password defines the API password that you need to log in.

But it seems you managed this anyway.

The intention is that there is no re-location done by Duplicati. What appears to have happened is that when we switched from mono to .NET8 there was a slight change in how some environment variables were resolved.

I think this is Archlinux specific, but you can either:

  • Move the previous folder into the new location
  • Supply --server-datafolder=/var/lib/duplicati as commandline arguments in /etc/defaults/duplicati

I think the trailing .config looks like a strange error. Duplicati will use something similar to ~/.config/Duplicati as the storage folder. I do not know how the duplicati/.config came in there, or how the .config came after duplicati (with a lowercase d)?