I’m using Duplicati to backup my server that runs on Windows 10. Some self-hosted apps are backed up effortlessly if they’re run natively on Windows - folders are just compressed and uploaded.
When it comes to Docker volumes though - I cannot back them up and restore. Backups run with a metadata warning, and restoring backup becomes impossible.
Here’s the warning: [Warning-Duplicati.Library.Main.Operation.Backup.MetadataGenerator.Metadata-MetadataProcessFailed]: Failed to process metadata for "\\\\wsl.localhost\\docker-desktop\\mnt\\docker-desktop-disk\\data\\docker\\volumes\\homarr_homarr_data\\...", storing empty metadata InvalidOperationException: Method failed with unexpected error code 1
Any known fix for this, or I’m just out of luck using Duplicati for this?
Are you running Docker under Windows 10 WSL? If so, do other WSL files do this?
Duplicati tries to record metadata accurately, but I’m not sure what above use does.
You could possibly test WSL files in Explorer, PowerShell, etc. to see what they say.
I’d imagine that there’s some difficulty in perfectly converting Linux to Windows form.
Your issue here is worse than just odd conversion. Any errors in About → Show log?
It’d be helpful to see an expanded view of where exactly the code tripped over things.
--skip-metadata (Boolean): Do not store metadata
Use this option to disable the storage of metadata, such as file timestamps. Disabling metadata storage will speed up the backup and restore operations, but does not affect file size much.
* default value: false
might be able to help. You might still get a modification timestamp, but not exotic stuff.