rustic
rustic copied to clipboard
Error restoring file with weird character in the filename on Windows
From comments:
I have a problem with a filename I don't know if it's related to unicode. Rustic just stopped itself after encountering an error while creating a file when restoring a snapshot, the filename included this:
05 Reminiscencias .flac
And rustic outputed this (in the CMD window):
\\05 Reminiscencias\\u00a0.flac
It seems the last character before extension is U+00A0
LOG:
rustic restore --verify-existing --delete xxxxxxx F:\
using config .\rustic.toml
[INFO] repository rest:http://localhost:9082: password is correct.
[INFO] using cache at C:\Users\parasiteoflife\AppData\Local\rustic\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[00:00:00] ████████████████████████████████████████ 0/0
[INFO] getting snapshot...
[00:02:31] reading index... ████████████████████████████████████████ 17778/17778
[00:00:00] collecting file information... ⠙
[ERROR] error removing "F:\\$RECYCLE.BIN\\desktop.ini": El sistema no puede encontrar la ruta especificada. (os error 3)
Error: error creating "F\\Compressed\\05 Reminiscencias\\u00a0.flac"
Caused by:
El sistema no puede encontrar la ruta especificada. (os error 3)
The first error about removing desktop.ini always happens when using --delete btw (though this may be a permission issue on my end), I haven't tried yet but restic ignores the System Volume Information directory on NTFS drives?