-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
--use-fs-snapshot failed on windows/386 #3087
Comments
--use-fs-snapshot
failed on windows/386
Related comment: #2274 (comment) |
No @rawtaz it's totally different issue. |
This comment (and below) seemed more related. |
I was mostly thinking about not supporting 32-bit Windows due to the reasons in the comment i linked to and that we'll mostly just handle the failures on it gracefully. |
32-bit restic supports VSS on 32-bit Windows, but don't supports it on 64-bit Windows due to VSS limitations. |
@DRON-666 I'm going to test this in a VM. Are you going to create a PR? |
Not now. |
Just tested it. Works as expected. Should I create a PR for it? |
Yes. Please. |
Output of
restic version
restic 0.11.0 compiled with go1.15.2 on windows/386
How did you run restic exactly?
restic --use-fs-snapshot d:\test
What backend/server/service did you use to store the repository?
local filesystem repository
Expected behavior
VSS don't failed
Actual behavior
Steps to reproduce the behavior
Use
windows/386
restic version on 32-bit Windows with--use-fs-snapshot
flag.Do you have any idea what may have caused this?
Nobody uses 32-bit Windows, and syscalls from
vss_windows.go
are hardly tested.I was absolute sure this bug was fixed by @fgma, but this piece of code seems to be cursed.
Do you have an idea how to solve the issue?
I think restic needs integration tests with real testing of VSS. Perhaps carefully prepared VHD image with many partitions of different types, broken mount points and other edge cases.
Did restic help you today? Did it make you happy in any way?
Yes! Yes!
The text was updated successfully, but these errors were encountered: