HP P9000 Replication Manager Software 7.3.1-00 Application Agent CLI Reference Guide
Specify this option to create only a backup catalog, without resynchronizing or splitting pairs, or
freezing databases.
Even if you create a template catalog with the -template option specified, the old metafile will be
deleted.
For example, in a two-generation environment, suppose that the following commands are executed:
1. Execute drmsqlbackup default.
2. Execute drmsqlbackup default
3. Execute drmsqlbackup default -template
In this case, after performing step 3, the metafile and catalog acquired by performing step 1 are
deleted.
This backup catalog can only be used for restoring data backed up remotely.
Notes
• If you use the -target or -f option, specify all the databases that are contained in the same
logical volume. If this is option is not specified, a command error occurs.
• The backup information in the backup catalog is managed based on using the copy group as a
key. Depending on the backup method, you might not be able to perform restoration, even though
the backup data exists on the secondary volume. For further information, see the notes on running
Application Agent in the HP P9000 Replication Manager Software Application Agent CLI User
Guide.
• When specifying on the command line a file name or directory name containing space characters
for the -target option 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.
• If the following error occurred when you used the -script option, an error message is output
from the SQL Server following the user script error message because the database was thawed.
• An error occurs in a command specified by SPLIT_PROC when END_CODE in the user script
file is set to TERMINATE_NZ.
Return Values
0: Normal termination
Any value other than 0: Termination with an error
Examples
• In this example, the command is used to perform online backup of all databases in the instance
SQLDB:
PROMPT> drmsqlbackup SQLDB
• In this example, the command is used to perform online backup of databases DB01 and DB02 in
the instance SQLDB:
PROMPT> drmsqlbackup SQLDB -target DB01,DB02
Application Agent CLI Reference Guide 147