See also the section "Notes".
-media
This option returns the list of all media needed for restore.
NOTES
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.
2.
Windows only
: Set the environment variable OB2_CLI_UTF8 to 1.
3. Redirect the output of the syb_tool command to a text file using the -i option.
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.
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 HP Data Protector integration guide for VMware Virtual Infrastructure,
Sybase, Network Node Manager, and Network Data Management Protocol Server.
EXAMPLES
1. To get the ISQL statement needed for the restore of the last backup of the
database named "database1" on the Sybase Adaptive Server named "server",
run:
syb_tool database1 server -date
2. To get the ISQL statement needed for the restore of the database named
"database1" on the Sybase Adaptive Server named "server", using the first
backup performed after midday of July 07. 2007, run:
syb_tool database1 server -date 2007/07/07.12:00:00
3. To get the ISQL statement needed for the restore of the database named
"database1" on the Sybase Adaptive Server named "server", using the first
backup performed after midday of July 07. 2007and restoring it as
"database_one" on the Sybase server called "server_one", run:
syb_tool database1 server -date 2007/07/07.12:00:00 -new_db
database_one -new_server server_one
4. To get the ISQL statement needed for the restore of the last backup performed
for database named "database1" on the Sybase Adaptive Server named
276