Localized database names
If the names of backed up objects contain characters that cannot be displayed using
the current language group (on Windows) or code page (on UNIX):
1.
Set the encoding used on the terminal to UTF-8.
Windows only : Set the environment variable OB2_CLI_UTF8 to 1.
2.
3.
When gathering information for restore, redirect the output of the syb_tool
or omnidb command to a text file.
If you need to edit the file containing the load command, use a UTF-8 aware
editor that does not set the first byte ("BOM"), since such a file is not supported
by isql. Note that the Windows Notepad editor cannot be used.
For details, see
4.
When restoring the objects, add the -i file_name –J utf8 options to the
isql command, where file_name is the file with the load command.
For details, see
Finding information for restore
To restore a corrupted database, first find the necessary media and the session ID
of the last full backup. If you have backed up the database using several streams,
also determine the number of streams.
Use the Data Protector GUI or CLI.
Using the Data Protector GUI
In the Internal Database context, expand Objects or Sessions. To view details
on a session, right-click the session and click Properties.
Using the Data Protector CLI
Use the Data Protector syb_tool command or the standard Data Protector CLI
commands.
132
Integrating Sybase Server and Data Protector
"Finding information for
"Restoring using the Sybase isql
restore" on page 132.
command" on page 139.