: The filename, directory name, or volume label syntax is incorrect.


#1

I’m running a test restore to Windows server from files backed up on a Linux server. Both using CLI. It seems to work, but stops after several directories restored with errors like this:

: The filename, directory name, or volume label syntax is incorrect.


#2

That is because some file names contain characters that are invalid under Windows, such as:

< (less than)
> (greater than)
: (colon)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)

If you run duplicacy -d restore ... you will see what files cause the issue and you can exclude those files.


#3

What does this do? So the command would be something like:

duplicacy -d restore -r 58

PS - I have preferences with the path and creds cached.


#4

I see now, it’s a debug setting