Restore 30k+ files with special characters - batch mode

JannisJacobsen

Newcomer
Joined
Apr 22, 2016
Messages
4
Reaction score
0
Points
0
Hi!

We have a major issue restoring files with special characters.
We managed to restore about 70.000 files that were "normal", but all files with Norwegian characters (æ.ø,å), ©, + etc fails in batch mode.

The server runs on Windows 2008 R2.
Is there any way to get dsmc to allow batch mode restore of these files?
It's a .. tedious.. process to do manually, to say the least :)

-Jannis
 
It helped a lot to convert the input file from utf to ansi format.
It still had issues with © and such characters, but it's a lot less to deal with manually.

-J
 
What version of the TSM Client?
Is the filespace unicode?
When you say batch mode, what exactly do you mean?
Can you give us an example of the restore command you use?
What's the error(s) you get when it fails?
 
What version of the TSM Client?
Is the filespace unicode?
When you say batch mode, what exactly do you mean?
Can you give us an example of the restore command you use?
What's the error(s) you get when it fails?

code page 850 which is default I believe.
The client is version 6 Release 4 Level 0.0

The command is as follows:
dsmc restore -filelist=path_to_filelist -replace=yes

The error is that it can't understand © as part of a filename or path for instance.
It just shows some garbled characters instead in the filename it tries to restore, and reports the file as not existing in the backup.

By converting the text file to ansi, we managed to restore all files with Norwegian special characters like æ ø and å.

-Jannis
 
The error is that it can't understand © as part of a filename or path for instance.
It just shows some garbled characters instead in the filename it tries to restore, and reports the file as not existing in the backup.
Can you copy/paste the full error messagse including what TSM interprets ? You can hide part of filename if it reveals sensitive information.

If you do this command, do you see the filename correctly in the query?
dsmc query backup X:\directory\*
replace X:\directory\* with the full path that contains the file with ©

Is the filespace unicode?
Can you issue this command to see if the filespace is unicode: dsmc q fi -detail

The command is as follows:
dsmc restore -filelist=path_to_filelist -replace=yes
If instead of doing that, you just restore the directory that has those files, does it work? I know that's not what you are trying to do, but by knowing what works and what doesn't can help isolate the problem.
 
Back
Top