HP XP P9000 Replication Manager Software 7.6.0-00 Application Agent CLI Reference Guide

The backup-comment value is not case sensitive.
You can use an asterisk (*) to specify a wildcard in backup-comment. You can specify that only
the initial characters match (for example, specify a string such as XYZ* to search for strings that begin
with one or more specific characters and that end with any or no characters). When a wildcard,
special character, or one-byte space character is used, the entire backup-comment string must be
enclosed in double quotation marks ("). If the backup-comment string contains a special character
but is not enclosed in double quotation marks, the special character is not properly handled as a part
of the backup-comment string and is parsed as a special character. If you specify -comment "*",
the command will display all backup catalogs.
If two double quotation marks are specified after the -comment option (as in -comment ""), a
message is displayed indicating that no backup data exists.
-template
Specify this option if you want to display the template catalog to be specified, in a situation where
you want to perform restoration, by using a template catalog that was created by executing the
drmsqlbackup command with the -template option specified. The START-TIME and END-TIME
of a template catalog specified using the -template option are the times at which creation of the
template catalog started and finished.
-lsn
Specify this option if you want to display the log sequence number CHECKPOINT-LSN of the log
record that is used as the starting point of a recovery when restoring a backup file of the data file
indicated by the DATAFILE of OBJECT and the full backup time FULL-BACKUP-TIME.
NOTE:
When specifying on the command line a file name or directory name containing space characters
for the -target or -f option, you must enclose the file name in double quotation marks (").
Note that enclosing with double quotation marks is not necessary for target paths specified in batch
definition files.
Return Values
0: Normal termination
Any value other than 0: Termination with an error
Examples
In this example, the command is used to display information about the SQL Server database spe-
cified in instance SQL1:
PROMPT> drmsqlcat SQL1
INSTANCE: SQL1
BACKUP-ID: 0000000001 BACKUP-MODE: ONLINE INSTANCE: SQL1 ORIGINAL-ID: 0000000001
START-TIME: 2002/06/01 10:00:00 END-TIME: 2002/06/01 10:03:00 HOSTNAME: DB_SVR1
T DB OBJECT FILE FS DG DEVICE COPY-GROUP
M DB1 METAFILE C:\METADIR\Meta1 C: - - -
D DB1 DATAFILE D:\SQL\data1.mdf D: - Harddisk2 VG02,dev02
- - - - - - - VG02,dev02
T DB1 TRANSACT D:\SQL\tlog1.ldf D: - Harddisk2 VG02,dev02
- - - - - - - VG02,dev02
M DB2 METAFILE C:\METADIR\Meta2 C: - - -
D DB1 DATAFILE D:\SQL\data2.mdf D: - Harddisk2 VG02,dev02
- - - - - - - VG02,dev02
Application Agent CLI Reference Guide 157