-
Notifications
You must be signed in to change notification settings - Fork 1.7k
error: NodeFromFileInfo: Readlink: readlink \\?\C:\ProgramData\restic\shadow\C: The parameter is incorrect. #2708
Description
Hi,
Output of restic version
restic 0.9.6 compiled with go1.13.4 on windows/amd64
I use restic on Microsoft Windows 10 (1903).
I run restic on command line with administrator access.
How did you run restic exactly?
restic -r D:\restic --verbose backup C:\ProgramData\restic\shadow\C
C:\restic>restic -r D:\restic -f --verbose backup C:\ProgramData\restic\shadow\C
open repository
enter password for repository:
repository cacd2f5e opened successfully, password is correct
lock repository
load index files
start scan on [C:\ProgramData\restic\shadow\C]
start backup on [C:\ProgramData\restic\shadow\C]
scan finished in 0.255s: 0 files, 0 B
error: NodeFromFileInfo: Readlink: readlink \\?\C:\ProgramData\restic\shadow\C: The parameter is incorrect.
Files: 0 new, 0 changed, 0 unmodified
Dirs: 4 new, 0 changed, 0 unmodified
Data Blobs: 0 new
Tree Blobs: 0 new
Added to the repo: 0 B
processed 0 files, 0 B in 0:00
snapshot 5d2a2994 saved
But, if I backup a subfolder it works:
C:\restic>restic -r D:\restic --verbose backup C:\ProgramData\restic\shadow\C\tmp
open repository
enter password for repository:
repository cacd2f5e opened successfully, password is correct
lock repository
load index files
start scan on [C:\ProgramData\restic\shadow\C\tmp]
start backup on [C:\ProgramData\restic\shadow\C\tmp]
scan finished in 0.268s: 1 files, 213 B
Files: 1 new, 0 changed, 0 unmodified
Dirs: 5 new, 0 changed, 0 unmodified
Data Blobs: 1 new
Tree Blobs: 6 new
Added to the repo: 1.968 KiB
processed 1 files, 213 B in 0:00
snapshot aaf2aeaf saved
What backend/server/service did you use to store the repository?
Local
Expected behavior
Backup of the files.
Actual behavior
Backup end with no file but snapshot created.
Steps to reproduce the behavior
1/ Init a new repository
2/ Do a Shadow Copy of C:
3/ Create a symlink to allow access of this Shadow Copy
4/ Start backup of the root of symlink.
PS: If I try to backup a subfolder it works (for example : restic -r D:\restic --verbose backup C:\ProgramData\restic\shadow\C\tmp instead of restic -r D:\restic --verbose backup C:\ProgramData\restic\shadow\C).
Do you have any idea what may have caused this?
No :(
Maybe me but I don't understand.
Do you have an idea how to solve the issue?
No :(
Did restic help you today? Did it make you happy in any way?
Yes :)
Olivier