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

Richard     Nov 2 10:25PM 2017 CLI

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.


gchen    Nov 3 10:04AM 2017

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.


Richard    Nov 3 2:13PM 2017

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.


Richard    Nov 3 2:23PM 2017

I see now, it's a debug setting