Skip to content
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

Deduplicated files on Windows cannot be backed up - Go Version Problem #4574

Closed
jirijanata opened this issue Nov 27, 2023 · 1 comment · Fixed by #4621
Closed

Deduplicated files on Windows cannot be backed up - Go Version Problem #4574

jirijanata opened this issue Nov 27, 2023 · 1 comment · Fixed by #4621

Comments

@jirijanata
Copy link

Output of restic version

restic 0.16.2 compiled with go1.21.3 on windows/amd64

What backend/service did you use to store the repository?

borgbase (restic mode)

Problem description / Steps to reproduce

When I try to backup file, which is deduplicated on Windows Server, it fails.

restic -r rest:https://xxx@xxx.repo.borgbase.com backup "D:\deduplicated.file"
repository xxx opened (version 2, compression level auto)
using parent snapshot xxx
[0:00] 100.00%  2 / 2 index files loaded
error: invalid node type ""

Files:           0 new,     0 changed,     0 unmodified
Dirs:            0 new,     0 changed,     2 unmodified
Added to the repository: 0 B   (0 B   stored)

processed 0 files, 0 B in 0:02
snapshot xxx saved
Warning: at least one source file could not be read

Expected behavior

Restic should be able to back up deduplicated files.

Most likely the same problem was in Syncthing and it's related to the Go 1.21 Version. It looks, that it should be fixed in Go 1.21.5 (not released as of 27. November 2023).
syncthing/syncthing#9120
golang/go#63429

Did restic help you today? Did it make you happy in any way?

Of course :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants