HP StorageWorks P9000 Replication Manager Software 7.1 CLI User Guide (TB584-96026, May 2011)

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 Cnt Ac01 -d sql01 -FBC 0
ENV=HORCMINST=0
END_CODE=TERMINATE_NZ
TIMEOUT=0
[SPLIT_PROC]
[CMD]
CMDLINE=C:\HORCM\etc\pairsplit.exe -g Cnt Ac01 -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 Cnt Ac01 -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 Cnt Ac01 -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.
4. Export the backup catalog to a temporary file.
Export the backup catalog to a temporary file. To export the backup catalog to the temporary
file C:\tmp\EX-FILE1.drm, execute the drmdbexport command. This step must be performed
on the database server at the remote site.
PROMPT> drmdbexport 0000000001 -f C:\tmp\EX-FILE1.drm
KAVX0001-I The drmdbexport command will now start.
KAVX0002-I The drmdbexport command will now end.
CLI User Guide 367