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

Example
In this example, the command backs up the transaction log for the resource, based on the settings
in the operation definition file operation01:
EX_DRM_SQL_TLOG_BACKUP operation01
EX_DRM_SQLFILE_EXTRACT (Deploys SQL Server metafiles to the folder to be
backed up to a tape device)
Format
EX_DRM_SQLFILE_EXTRACT operation-ID
Description
This extended command deploys the SQL Server metafiles from the temporary directory for extended
commands to the directory indicated below.
On the database server:
The VDI metafile storage directory that was registered with the drmsqlinit command
On the backup server:
directory-specified-for-FTP_HOME_DIR\directory-specified-for-
FTP_SUB_DIR\operation-ID\AP
When this extended command is executed on the backup server, the system first deletes all SQL Server
metafiles from the copy destination folder. The system then copies the SQL Server metafiles from the
copy source folder to the copy destination folder. By deleting old metafiles, this extended command
prevents old metafiles from being backed up to a tape device.
On the database server, all SQL Server metafiles that are generated when the database is backed
up to the secondary volume are protected. Therefore, if this extended command is executed on the
database server, SQL Server metafiles are not deleted.
Prerequisites
The prerequisites for executing this extended command are as follows:
An operation definition file linked to the specified operation ID has been provided.
The backup ID file from which this extended command will acquire information has been generated
by executing the EX_DRM_BACKUPID_SET or EX_DRM_DB_IMPORT extended command.
Arguments
operation-ID
A character string that uniquely identifies the operation to be performed. Information in the operation
definition file corresponding to the specified operation ID is used when executing the extended
command.
Return Values
0: Normal termination
Any value other than 0: Termination with an error
Extended commands60