in a WebDAV client, use the share token as username and the (optional) share password as password.
I get the webdav url from settings > webdav in my Nextcloud. I tried to paste it into Duplicati’s input field (Screen below).
When I test the connection I get error message:
Failed to connect: Error: NameResolutionFailure
How can I connect Duplicati to nextcloud? There are advanced options but I’m not sure which I need, if any? What about the documentation blurb above on ‘share token’ and ‘share password’?
Some or all of the below information will be requested if it isn't supplied; for fastest response please provide as much as you can :heart:
[/details]
Nextcloud version _(eg, 20.0.5)_: `Hetzners turn key Nextcloud service 'storage share'. 'About' gives version 23.02`
Operating system and version _(eg, Ubuntu 20.04)_: `Not sure?`
Apache or nginx version _(eg, Apache 2.4.25)_: `Not sure?`
PHP version _(eg, 7.4)_: `Not sure?`
The issue you are facing:
See above
Is this the first time you've seen this error? Y:
Steps to replicate it:
1. Find a webdav client
2. Enter webdav URL, username and password
3. You might get the same error message as above
The output of your Nextcloud log in **Admin > Logging**:
This section seems locked to end users of the storage share product from Hetzner
The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!):
Not available to me
The output of your Apache/nginx/system log in `/var/log/____`:
I think your path on server (/home/...) is wrong.
You can read the Nextcloud WebDAV documentation.
I think Dupliciti and WebDAV is not the best combination.
Thanks for the suggestion, going to try that just now. Here’s my post which led me to duplicati, I was looking for a remote back ups solution similar to deja dup. It looks like NC eee is just the encryption part, not the back up part?
Nextcloud is not really a backup solution. If you sync files between client and server and there is a problem with sync then there is a problem with the “backup”. Also RAID is not a backup for data. For a real backup you need the (incremental) copy of the files on a system you can not reach by stupidity e.g. sync, copy, edit, delete, …
The advantage of Nextcloud 2E2 is the fact that you can activate it only for secure folders. Then you can only access this data from clients. But the other folders are also reachable from e.g. browser. For backup you need a backup of your nextcloud or a backup of your local data at another place. Also you can combine it.
It’s more just to take advantage of the storage provided by Hetzner… I tried removing the ‘path on server’, gave a warning "If you do not enter a path, all files will be stored in the login folder. Are you sure this is what you want? " but then when clicking test I get the same error message " Failed to connect: Error: NameResolutionFailure "
I wonder if the webdav url is ‘wrong’? The url provided in settings > webdav starts with https whereas it looks like expectation is is starts with davs://?
Does the folder and subfolder /home/pop-os already exist on your Nextcloud server? If not create it first and then try the following in Duplicati:
Storage Type: WebDAV Use SSL: Server and Port: | cloud.yourdomain.tld | 443 | Path on server:/remote.php/dav/files/Admin/home/pop-os Username: Admin Password: the password of the “Admin” user or the app password if you created one on your Nextcloud.
Thanks for the suggestion. I tried that and got same error
The url I used was like this cloud.nx12345.your-storageshare.de/remote.php/dav/files/Admin/. The url provided in settings > webdav is like this https://.nx12345.your-storageshare.de/remote.php/dav/files/Admin/
I set everything else per your suggestion. I also removed /home, it’s just at my nc root I created a directory pop-os and tried with that.
Did you enter it exactley the way I wrote it in my post?
The field “Server” should only contain the server name, without “https” and slashes
like this…
cloud.nx12345.your-storageshare.com
Port should be obvious:
443
…and then you can enter the rest of the path including the folder you want to store your backups to in to the field “Path on Server” with a slash at the beginning of the path:
/remote.php/dav/files/Admin/Backup-Folder
It is best to create the backup folder manually in the web UI of your Nextcloud first.
Thanks for this, seems to be same instructions as b77 gives too and this did work in a sense that I think my connection settings are sound now, but I get a new error ‘unauthorized’
Just go to Setings → Personal → Security in your Nextcloud. At the bottom of that page you can click on “Create new app password” and then use that for Duplicati to login.