I’ve got two problems with the restore option.
I’m using a docker environment with portainer and the nginx proxy manager. Duplicati runs as a docker container as well. I want to backup all my volumes with duplicati.
I’m currently testing a failure and loss of data and every time I try to restore the data I get problems.
When I restore the nginx proxy manager data, I get the following error messages:
#################################################################################################
2022-10-14 07:48:24 +02 - [Warning-Duplicati.Library.Main.Operation.RestoreHandler-MetadataWriteFailed]: Failed to apply metadata to file: “/source/nginxproxymanager_letsencrypt/_data/live/npm-1/cert.pem”, message: Unable to create symlink from “/source/nginxproxymanager_letsencrypt/_data/live/npm-1/cert.pem” to “…/…/archive/npm-1/cert1.pem”, error: EEXIST (17)
2022-10-14 07:48:24 +02 - [Warning-Duplicati.Library.Main.Operation.RestoreHandler-MetadataWriteFailed]: Failed to apply metadata to file: “/source/nginxproxymanager_letsencrypt/_data/live/npm-1/chain.pem”, message: Unable to create symlink from “/source/nginxproxymanager_letsencrypt/_data/live/npm-1/chain.pem” to “…/…/archive/npm-1/chain1.pem”, error: EEXIST (17)
2022-10-14 07:48:24 +02 - [Warning-Duplicati.Library.Main.Operation.RestoreHandler-MetadataWriteFailed]: Failed to apply metadata to file: “/source/nginxproxymanager_letsencrypt/_data/live/npm-1/fullchain.pem”, message: Unable to create symlink from “/source/nginxproxymanager_letsencrypt/_data/live/npm-1/fullchain.pem” to “…/…/archive/npm-1/fullchain1.pem”, error: EEXIST (17)
2022-10-14 07:48:24 +02 - [Warning-Duplicati.Library.Main.Operation.RestoreHandler-MetadataWriteFailed]: Failed to apply metadata to file: “/source/nginxproxymanager_letsencrypt/_data/live/npm-1/privkey.pem”, message: Unable to create symlink from “/source/nginxproxymanager_letsencrypt/_data/live/npm-1/privkey.pem” to “…/…/archive/npm-1/privkey1.pem”, error: EEXIST (17)
#################################################################################################
And when I try to restore the config volume from duplicati I get this error:
The database disk image is malformed database disk image is malformed
After that I get this error every time I go to the recovery tab.
What can be the reason?
Update:
I tried to restore the entire volumes docker folder and selected a different folder as the destination (/backuptest). This worked without any problems, but unfortunately he didn’t copy it to /backuptest but to /var/lib/docker/overlay2/…/diff/backuptest and /var/lib/docker/overlay2/… /merged/backuptest. So I assume that duplicati has a problem with overwriting its own config and the nginx letsencrypt files. Can someone still explain to me why the default custom folder of duplicati is /var/lib/docker/overlay2/…/?