Hi!
I like Duplicati in many ways, and therefore I use it on my Windows client, a Linux server as an app and running as Docker containers on Linux servers!
As exporting backup jobs are a manual process, and I update the jobs now and then, I want to backup the Duplicati settings and backup jobs. I have done this by backing up the database file: Duplicati-server.sqlite
When changed Windows client this worked well, but when a Linux server with Duplicati in Docker had to be restored, only the Duplicati settings were restored, not the backup jobs?
When searching for information regarding this, I get varying results, sometimes it is claimed that backup jobs are included (which it must have been on the Windows client), and sometimes it is said that backup jobs also must be exported/imported.
Is there a difference inbetween the Windows/Linux/Docker applications? Is there a difference inbetween the different versions? Or was it a glitch that stopped me from restoring the backup jobs on the Docker container?
What you’re seeing is actually a common point of confusion with Duplicati. On Windows, the backup jobs are stored in the Duplicati-server.sqlite database, so copying that file often restores both settings and jobs. In Docker or Linux setups, though, job definitions can sometimes be split between the SQLite database and configuration files in the container or host volume. That’s why restoring just the database may bring back global settings but not all jobs. It’s usually safer to export each backup job from the web interface before migrating, then import them after restoring the container. Differences in versions can also affect whether jobs are fully included in the database, so double-check the versions match when moving between systems.
Thank you for the answer, and clearing up some confusion!
Personally, I think it makes the most sense to store it all in the central database, as this makes restore of the backup system AND backups (which is the whole point of the application) easier (and even possible if you have not done manual exports).
I backup the Duplicati database in different ways (script, Duplicati backupjob).
When I have to restore, I first install Duplicati app, restore its database, repair job databases and then restore anything needed.
The backup jobs are more frequently adjusted and sometimes exported, but sometimes forgotten.