So I’m trying to backup my NAS to another Synology NAS using WebDAV. I have WebDAV Server setup in Synology with ports 10080 (HTTP) and 10443 (HTTPS), Anonymous WebDAV and DavDepthInfinity disabled.
On Duplicati I have setup a backup with that server’s credentials, the path on server I’ve tried “Backup” and “/Backup” which is the shared folder on Synology. The user “backup” has WebDAV Server app permission and Read & Write permissions to the Backup shared folder.
Initially when I press “Test connection” I get this:
Failed to connect: The remote server returned an error: (401) Unauthorized.
Now it gets weird: After that, I try to connect to that same WebDAV server using any client (CarotDAV for example). It works just fine. I can download, upload files with no issues. Now I go back to Duplicati and press that “Test connection” button again and it works! After this, the backup starts but, after a while, I get that same 401 error again before the backup finishes.
As for the options, I have these:
--accept-any-ssl-certificate=true
--force-digest-authentication=false