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

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:
Backup ID = 0000000001
KAVX0002-I drmsqlbackup command will now end.
To create backups in the local and remote destinations using the script:
PROMPT> drmsqlbackup default -script C:\Uscript.txt
KAVX0001-I The drmsqlbackup command will now start.
KAVX1017-I SQL Server information is being collected now.
KAVX1207-I Backing up the database...
KAVX0210-I The user script will now start.
Procedure section = RESYNC_PROC
KAVX0212-I A command from the user script will now execute.
Command line = C:\HORCM\etc\pairresync.exe -g TC01
-d sql01 -FBC 0
KAVX0213-I A command from the user script has ended.
End code = 0
KAVX0212-I A command from the user script will now execute.
Command line = C:\HORCM\etc\pairresync.exe -g TC01
-d sql02 -FBC 0
KAVX0213-I A command from the user script has ended.
End code = 0
KAVX0211-I Execution of the user script has finished.
Application Agent CLI Reference Guide 151