well @rawtaz … looks like you’re on to something
I mounted \\MICROSERVER\pictures
as Z:
… and ran the backup again: restic -r d:/restic_BU backup z:/test
…:
repository fc10dcae opened (version 2, compression level auto)
no parent snapshot found, will read all files
Files: 5 new, 0 changed, 0 unmodified
Dirs: 2 new, 0 changed, 0 unmodified
Added to the repository: 293 B (253 B stored)
processed 5 files, 1.988 MiB in 0:00
snapshot a711f72d saved
here are the files in the snapshot restic -r d:/restic_BU ls a711f72d
…:
repository fc10dcae opened (version 2, compression level auto)
snapshot a711f72d of [z:\test] filtered by [] at 2023-09-01 13:59:11.2227456 -0500 CDT):
/z
/z/test
/z/test/IMG_3660.JPG
/z/test/IMG_3663.JPG
/z/test/IMG_3713.JPG
/z/test/IMG_4011.JPG
/z/test/toddler.jpg
I then restored to C:
via restic -r d:/restic_BU restore latest --target c:/restored
…:
repository fc10dcae opened (version 2, compression level auto)
restoring <Snapshot a711f72d of [z:\test] at 2023-09-01 13:59:11.2227456 -0500 CDT by Stewie\Hauke@Stewie> to c:/restored
Summary: Restored 7 Files (1.988 MiB) in 0:00
and the same to the NAS using the drive letter (same share, but new folder) restic -r d:/restic_BU restore latest --target z:/test2
…:
repository fc10dcae opened (version 2, compression level auto)
restoring <Snapshot a711f72d of [z:\test] at 2023-09-01 13:59:11.2227456 -0500 CDT by Stewie\Hauke@Stewie> to z:/test2
Summary: Restored 7 Files (1.988 MiB) in 0:00
It restores the folder test
(with its contents) inside a folder z
inside the target folder in both cases.
I then wanted to see if the creation of the snapshot was the only culprit, so I tried to restore using the network path \\MICROSERVER\sucha
again … and that failed again (now with “\z: node has invalid path”):
repository fc10dcae opened (version 2, compression level auto)
restoring <Snapshot a711f72d of [z:\test] at 2023-09-01 13:59:11.2227456 -0500 CDT by Stewie\Hauke@Stewie> to \\microserver\suscha
ignoring error for \z: node has invalid path
ignoring error for \z: node has invalid path
Summary: Restored 0 Files (0 B) in 0:00
Fatal: There were 2 errors
So I guess this is a viable workaround for now … having less than a dozen shared folder, I guess I can muster letters O through Z for mounting purposes on that system. Do you think this a bug and is anyone working on a permanent fix?
I also tried the restore command you asked me to try: restic -r d:/restic_BU restore latest:\\MICROSERVER --target c:/restored
… first on the snapshot I had just created Z:
, and then on one I created with the network path \\MICROSERVER\pictures
again. Both times it “failed” the same way:
repository fc10dcae opened (version 2, compression level auto)
path \\MICROSERVER: not found