HP XP7 Replication Manager Application Agent CLI User Guide (TK981-96015, May 2014)

Backup using VSS
An example of using VSS to back up a storage group is described below. Backup operations using
VSS are executed with an Information Store and a disk drive mounted in position. In this example,
the system first backs up the storage group, STORAGE_1 in the database server DBServer into the
secondary volume, and then backs them up from the secondary volume to tape. The Operation ID
used in this example is Operation_A.
To perform a VSS backup, the Protection Manager service must be running on the backup server.
To use VSS to back up a storage group:
1. Back up the storage group to the secondary volume.
Using VSS, back up the storage group in an online backup operation. To perform backup, execute
EX_DRM_EXG_BACKUP. Specify the operation ID Operation_A as the argument.
DBServer > EX_DRM_EXG_BACKUP Operation_A -mode -vss
2. Check that the storage group has been backed up 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 -target STORAGE_1
STORAGEGROUP: STORAGE_1
BACKUP-ID:0000000001 BACKUP-MODE: VSS 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 411