-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows] UNC Path Issue #110
Comments
Hi @emuell I ran into this issue today, prepending the UNC path with a forward slash will work for browsing and dump as zip worked fine too (for sub directories) but restore did not (I never use restore anyway). My particular use case is to backup a NAS that can't run Restic and the network only has Windows machines on it, mapping the UNC path during backup would solve the issue but since restic itself works with UNC I figure it would be nice if restic browser did too. Note that In normal paths like c:\folder, "c" is treated like a folder so in a UNC path is seems like the entirety of "\host\share" might need to be treated as the top level folder. Here is the output I get for ls of a snapshot where two UNC backup paths were used during backup:
Let me know if I can do anything to help with this issue. |
UNC path support is a bit odd in restic. What we're doing under the hood to get the contents of path '/' (the root path) is:
And this simply does not include UNC paths in the snapshot like "/\localhost\d$/".
To get this listed you have to use And if there's mixed content in the snapshot, UNC paths and regular paths, This looks like a bug in restic to me. |
Description:
Restic Browser 0.3.1.0 does not load UNC paths, but restic ls can see the UNC paths.
solution from restic.exe
restic restore d1c1c66d:/\\192.168.1.152\Dinamico/ --target g:\s3\restore
Environment:
Operating System: Windows 11
Restic Browser Version: 0.3.1.0
Repository Location: Local disk
Backup Tool: restic.exe
Thank you for your hard work and dedication!
update
Solution Found
/\\ip\share/
restore button dont' work
Dump zip button work
The text was updated successfully, but these errors were encountered: