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

4. Export the backup information to temporary files.
To restore data from the secondary volume to the primary volume, the backup information about
the restore operation from tape to the secondary volume needs to be copied to the database
server. To export the backup information to temporary files in the temporary directory for extended
commands, execute EX_DRM_DB_EXPORT.
BKServer > EX_DRM_DB_EXPORT FS1
BKServer >
5. On the database server, receive the temporary files.
To receive the temporary files collectively from the backup server, execute EX_DRM_FTP_GET
on the database server. In this example, the user ID to log on to the FTP server is admin and the
login password is password. The temporary files are stored in the temporary directory for
extended commands, on the database server.
DBServer > EX_DRM_FTP_GET FS1 -server BKServer -user admin
-password password
DBServer >
6. Import the temporary files, which were transmitted from the backup server, into the backup catalog
on the database server.
To import the temporary files, which were transmitted from the backup server, into the backup
catalog on the database server, execute EX_DRM_DB_IMPORT on the database server.
DBServer > EX_DRM_DB_IMPORT FS1
DBServer >
7. Restore the data from the secondary volume to the primary volume.
Restore the data by resynchronizing the primary and secondary volumes. To restore the data,
execute EX_DRM_FS_RESTORE on the database server.
DBServer > EX_DRM_FS_RESTORE FS1 -resync
DBServer >
Backing up and restoring multiple generations by locking a
copy group
You can manage backups of multiple generations by using multiple copy groups for each backup
purpose.
In Application Agent, backup is usually performed to an automatically determined copy group, but
you can also use the drmcgctl command to lock the contents of a particular copy group, and
continue backup using other copy groups only.
The following kinds of operation become possible when generation management is performed by
locking particular copy groups:
After a monthly backup is obtained for a volume, the copy group is locked, and daily backups
are obtained for the remaining two volumes.
This allows you to keep the monthly backup until the copy group is unlocked.
Application Agent CLI User Guide 323