HP XP P9000 Replication Manager Software 7.6.1-00 Application Agent CLI User Guide

1. Prepare the user script file.
This sample procedure uses the following user script file:
LOCAL_BACKUP=NO
[RESYNC_PROC]
[CMD]
CMDLINE=C:\HORCM\etc\pairresync.exe -g TC01 -d sql01 -FBC 0
ENV=HORCMINST=0
END_CODE=TERMINATE_NZ
TIMEOUT=0
[SPLIT_PROC]
[CMD]
CMDLINE=C:\HORCM\etc\pairsplit.exe -g TC01 -d sql01 -FBC 0
ENV=HORCMINST=0
END_CODE=TERMINATE_NZ
TIMEOUT=0
[FINISH_PROC]
2. Back up the SQL Server database.
PROMPT> drmsqlbackup default -script C:\Uscrip.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
KAVX0211-I Execution of the user script has finished.
KAVX0210-I The user script will now start.
Procedure section = SPLIT_PROC
KAVX0212-I A command from the user script will now execute.
Command line = C:\HORCM\etc\pairsplit.exe -g TC01 -d sql01 -FBC
0
KAVX0213-I A command from the user script has ended.
End code = 0
KAVX0211-I Execution of the user script has finished.
KAVX0002-I The drmsqlbackup command will now end.
3. Check the backup execution results.
Check the backup execution results. To check the backup execution results, execute the drmsqlcat
command on the database server at the local site. If you perform backup with NO assigned to
LOCAL_BACKUP in the user script file, local site backup information will not be displayed.
PROMPT> drmsqlcat default -template
KAVX0024-E The specified backup data does not exist.
Operation for SQL Server databases370