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

Creation of a transaction log list file
You can use a redirect file created by specifying the -v option for the drmsqllogbackup command
as a transaction log list file. By using a redirect file, you can create a transaction log list file more
efficiently than by manually creating one.
When you specify the -v option for the drmsqllogbackup command, you can display the transaction
log backup information even when resynchronization of the primary and secondary volumes is being
performed or when no backup catalog exists. Therefore, there is no need to manually create a
transaction log list file while the drmresync command is being executed or when the backup catalog
has been deleted by executing the drmresync command.
To create a transaction log list file (redirect file), use the following command:
PROMPT> drmsqllogbackup instance-name -target database-name -v > transaction-log-list-file-name
(absolute path)
For example, if you want to create a transaction log list file in C:\temp\SQLTXLOG.txt when the
SQL Server instance name is SQL1 and the database name is DB1, execute the command as follows:
PROMPT> drmsqllogbackup SQL1 -target DB1 -v > C:\temp\SQLTXLOG.txt
Updating a dictionary map file
After environment setup is complete, the next step is to update the dictionary map files. By updating
the dictionary map files, you can confirm that the environment has been set up appropriately.
To update the dictionary map files:
When the backup is of a file system:
Execute the drmfsdisplay command with the -refresh option specified.
When the backup is of an SQL Server database:
Execute the drmsqldisplay command with the -refresh option specified.
When the backup is of an Exchange database:
Execute the drmexgdisplay command with the -refresh option specified.
In the following example, the command updates the dictionary map files:
PROMPT> drmfsdisplay -refresh
When the command terminates, the following message appears:
KAVX0023-I Dictionary map file was updated.
When the above message appears, confirm that the dictionary map files has been updated by, for
example, checking the date of the file.
Preparation for using Application Agent164