HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.0 Mainframe Agent Installation and Configuration Guide (TB581-96014, November 2010)

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.
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 path names 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
In this example, the command is used to perform backup by specifying the backup comment.
PROMPT>drmsqlbackup default -comment comment
KAVX0001-I drmsqlbackup command will now start.
KAVX1017-I SQL Server information will now be retrieved.
KAVX1207-I The database is being backed up.
KAVX0040-I The backup ID has been assigned as follows:
Backup ID = 0000000021
KAVX0002-I drmsqlbackup command will now end.
In this example, the command is used to create the template of the backup catalog:
PROMPT> drmsqlbackup default -template
KAVX0001-I drmsqlbackup command will now start.
KAVX1017-I SQL Server information will now be retrieved.
KAVX0085-I Now making backup information...
KAVX0086-I The backup information has been assigned as follows:
CLI Reference Guide 147