HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.0 Mainframe Agent Installation and Configuration Guide (TB581-96014, November 2010)

EX_DRM_SQLFILE_EXTRACT (Deploys the SQL Server's metafile 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 the SQL
Server's metafiles from the copy destination folder. The system then copies the SQL Server's 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 of the 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, the SQL Server's 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
Conditions Causing an Error
This extended command fails in the following cases:
An invalid option is specified.
Extended commands60