Skip to content

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

@jirijanata

Description

@jirijanata

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 :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions