rustic-rs / rustic

rustic - fast, encrypted, and deduplicated backups powered by Rust
https://rustic.cli.rs
Apache License 2.0
1.77k stars 67 forks source link

WebDAV configuration isn't working in windows #1163

Open douglasparker opened 3 months ago

douglasparker commented 3 months ago

Tested with latest and rustic v0.7.0-45-gfc8e3c5-nightly

rustic webdav binds to http://[::1]:8000 despite the configuration.

[webdav]
address = "127.0.0.1:8000"
path-template = "[{hostname}]/[{label}]/{time}" # The path template to use for snapshots. {id}, {id_long}, {time}, {username}, {hostname}, {label}, {tags}, {backup_start}, {backup_end} are replaced. [default: "[{hostname}]/[{label}]/{time}"]. Only relevant if no snapshot-path is given.
time-template = "%Y-%m-%d_%H-%M-%S"
symlinks = false
file-access = "read"
nardoor commented 3 weeks ago

Hello @douglasparker ,

To me, the address [::1] is the IPv6 equivalent of localhost (same as 127.0.0.1 for IPv4).

Are you certain that you can't connect to the webdav using 127.0.0.1:8000 when rustic says that it binds on http://[::1]:8000? I'm assuming it should work, let me know if I am being wrong.

douglasparker commented 3 weeks ago

@nardoor Yep, I'm certain. Feel free to test it out yourself.

KamikazeePL commented 4 days ago

On Windows 10 home it sometimes can not connect from Explorer but WinSCP I can connect and browse and copy files.