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

Cold backup
An example of backing up storage groups to tape in a cold backup is described below. In a cold
backup, the Information Store to be backed up is unmounted and remains inaccessible until the backup
completes. This is an example of performing a cold backup onto tape of an Exchange database. In
this example, an cold backup of storage group STORAGE_1 for the database server DBServer is
performed, and the backup is placed on the secondary volume. The backup is then backed up onto
tape from the secondary volume. The backup uses Operation_A as the operation ID.
To back up a storage group in a cold backup:
1. Back up the storage group to a secondary volume.
Perform a cold back up of the storage group. To perform backup, execute EX_DRM_EXG_BACKUP.
Specify the operation ID Operation_A as the argument. In the following example, the command
deletes the transaction log file and backs up the database:
DBServer > EX_DRM_EXG_BACKUP Operation_A -mode cold -transact_log_del
2. Check that the storage group has been backed correctly.
To check that backup information bearing the date on which the storage group had been backed
up from the primary volume to the secondary volume is available, execute the drmexgcat
command on the database server.
DBServer> drmexgcat
STORAGEGROUP: STORAGE_1
BACKUP-ID:0000000001 BACKUP-MODE: COLD STORAGEGROUP: STORAGE_1 ORIGINAL-ID:0000000001
START-TIME:2003/06/01 17:45:36 END-TIME: 2003/06/01 17:52:36
:
:
In this example, information about the backup operation carried out in step 1 has been loaded
in the backup catalog with the new backup ID 0000000001.
3. Export the backup information to temporary files.
To back up data from the secondary volume to a tape, you must copy information about backup
that was performed from the primary volume to the secondary volume. Copy this information to
the backup server. To export information about backup to temporary files, execute
EX_DRM_DB_EXPORT. Temporary files are stored in the temporary folder for extended commands,
on the database server.
DBServer > EX_DRM_DB_EXPORT Operation_A
4. Transfer the temporary files to the backup server.
Batch-transfer the temporary files from the database server to the backup server. To transfer the
files, execute EX_DRM_FTP_PUT on the database server. In this example, the user ID used for
logon to the FTP server is admin and the password is password. Temporary files are stored in
the temporary folder for extended commands, on the backup server.
DBServer > EX_DRM_FTP_PUT Operation_A -server BKServer -user admin -password password
Application Agent CLI User Guide 417