HP P9000 Replication Manager Software Application Agent CLI Reference Guide Part number: TB584-96079 Eighth edition: October 2013
Legal and notice information © Copyright 2010, 2013 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. The information contained herein is subject to change without notice.
Contents Preface ................................................................................................ 9 1 Extended commands ........................................................................ 11 Overview of extended commands ............................................................................................... List of extended commands ..................................................................................................
2 Basic commands .............................................................................. 81 List of basic commands .............................................................................................................. 81 Before reading the basic command descriptions ........................................................................... 83 Basic command path ..........................................................................................................
Contacting HP ........................................................................................................................ HP technical support ......................................................................................................... Subscription service .......................................................................................................... Documentation feedback ...................................................................................................
Figures 1 drmsqlrecovertool dialog box .................................................................................
Tables 1 List of extended commands (File system backups) ......................................................... 12 2 List of extended commands (Common commands) ....................................................... 12 3 List of extended commands (Tape-related commands) .................................................. 12 4 List of extended commands (SQL Server database backups) .......................................... 13 5 List of extended commands (Exchange database backups) .......................
31 Cluster software parameters ................................................................................... 110 32 Items displayed by the drmdevctl -sigview command .................................................. 118 33 Partition styles and corresponding disk signatures to be specified ................................ 119 34 Host information displayed by the drmhostinfo command ........................................... 122 35 Backup information displayed by the drmtapecat command ...............
Preface This guide describes how to manage HP StorageWorks P9000 Replication Manager Software.
Preface
1 Extended commands This chapter describes the extended commands provided by Application Agent. Overview of extended commands An extended command is used to reduce the effort required to perform data protection operations, such as backup or restoration. You can use extended commands to automatically perform backup and restoration, without needing to specify further complicated operations. For example, suppose that you want to back up data to a tape device by using Application Agent commands.
List of extended commands The following tables display the extended commands provided by Application Agent and provide a general explanation for each command. Table 1 List of extended commands (File system backups) Extended command name Explanation EX_DRM_FS_BACKUP Backs up a file system. EX_DRM_FS_DEF_CHECK Checks the contents of an operation definition file and automatically creates a temporary directory. EX_DRM_FS_RESTORE Restores a file system from its backup to the primary volume.
Extended command name Explanation EX_DRM_UMOUNT Unmounts a secondary volume. Table 4 List of extended commands (SQL Server database backups) Extended command name Explanation EX_DRM_SQL_BACKUP Backs up an SQL Server database. EX_DRM_SQL_DEF_CHECK Checks the contents of an operation definition file and automatically creates a temporary directory. EX_DRM_SQL_RESTORE Restores the SQL Server database from its backup to the primary volume.
Extended command formats All arguments that can be specified are described in this section. If multiple argument conditions exist, the formats are described separately for each condition. Do not mix separate formats. Viewing the format To display the extended command format, execute an extended command by specifying the -h option after the extended command name.
Extended command specifications (File system backups) This section explains the extended command specifications that apply to file system backup and restore operations.
Description This extended command backs up a file system from the primary volume to the secondary volume; the file system has the operation ID specified by executing the drmfsbackup command. At this time, the EX_DRM_FS_BACKUP command generates a backup ID. Prerequisites The prerequisite for executing this extended command is as follows: • An operation definition file linked to the specified operation ID has been provided.
• The value is case sensitive. • When a reserved character or a one-byte space character is used, the entire value must be enclosed in double quotation marks ("). • If the value contains a reserved character, but is not enclosed in double quotation marks, the reserved character is not correctly interpreted as a part of the backup comment, and is parsed as a reserved character.
Specify this option to execute a user script. Specify user-script-file-name as an absolute path. The conditions for specifying the value in the user-script-file-name parameter are as follows: • • • • The value must be 255 bytes or less. The value can include alphanumeric, one-byte space, and multi-byte characters. The value is case sensitive. If the value contains space characters, the entire value must be enclosed in double quotation marks (").
or restoration failures. The items, volumes, and conditions to be checked are described in the following table. Table 7 Status check of a secondary volume Check item A secondary volume is hidden from a backup server Volume to be checked All secondary volumes defined for a backup-target primary volume Check condition Checked when a primary volume is defined in pairs with secondary volumes of multiple generations and any of the following items is applicable: • A primary volume is a cluster resource.
EX_DRM_FS_BACKUP operation01 -mode cold • In this example, the extended command is used to back up the file system specified by the operation ID operation01 to the secondary volume, using the VSS backup method: EX_DRM_FS_BACKUP operation01 -mode vss EX_DRM_FS_DEF_CHECK (Checks the contents of an operation definition file and automatically creates a temporary directory) Formats To check the contents of an operation definition file for a file server: EX_DRM_FS_DEF_CHECK operation-ID -db To check the content
Item name Details to be checked • The mount point directory specified in INSTANCE_NAME must exist. INSTANCE_NAME • If a mount point list file is specified, both the specified file and the mount point’s directory defined in it must exist. TARGET_NAME Do not specify a value for this item by specifying TARGET_NAME=. FTP_HOME_DIR • The specified directory must exist.#1, #2 • The absolute path must be specified. • The specified directory name must not contain a delimiter character (\).
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. -db Specify this option to check the contents of an operation definition file for a file server. -bk Specify this operation to check the contents of an operation definition file for a backup server.
Prerequisites The prerequisites for executing this extended command are as follows: • An operation definition file linked to the specified operation ID has been provided. • EX_DRM_BACKUPID_SET or EX_DRM_DB_IMPORT has been executed, and the backup ID has been stored in the backup ID record file. Arguments operation-ID A character string that uniquely identifies the operation to be performed.
You can create a copy parameter definition file by using a name of your choice. Specify the file name by using an alphanumeric character string that is 64 bytes or less. You must save the copy parameter definition file to the following location: Application-Agent-installation-directory\DRM\conf\raid NOTE: • The backup information in the backup catalog is managed by using a copy group as a key.
Extended command specifications (Common commands) EX_DRM_BACKUPID_SET (Generates a backup ID file) Format EX_DRM_BACKUPID_SET operation-ID -backup_id backup-ID Description This extended command is used to generate a backup ID file that contains the specified backup ID. The command stores the file in the temporary directory for extended commands. Execute this extended command as preparation for restoring the backed up file system or the database to the primary volume.
• The system cannot acquire information from the operation definition file linked to the operation ID. • The backup ID cannot be recorded in the backup ID file. • A command executed inside the extended command encounters an error. • Information cannot be acquired from the host environment settings file. • No storage directory for extended-command temporary files is specified in the operation definition file. • The command fails to obtain the name of the directory where dictionary map files are stored.
Conditions Causing an Error This extended command fails in the following cases: • • • • An invalid option is specified. The file specified in the argument does not exist, or the system cannot access the file. An error is detected in the copy-group list file. A command executed inside the extended command encounters an error. Example • In this example, the extended command is used to check the copy-group list file C:\WORK\CGDEF.txt: EX_DRM_CG_DEF_CHECK -cg_file C:\WORK\CGDEF.
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. • The system cannot acquire information from the operation definition file linked to the operation ID. • Information cannot be acquired from the host environment settings file. • No storage directory for extended-command temporary files is specified in the operation definition file.
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.
• An operation definition file linked to the specified operation ID has been provided. • This extended command is executed on the FTP client. • The files that this extended command will transmit have already been generated by executing the EX_DRM_DB_EXPORT extended command. • The EX_DRM_FS_DEF_CHECK command has been executed to create a directory on the FTP server that will contain the transferred files.
Example • In this example, the extended command is used to transfer files from the FTP server to the FTP client, based on the settings in the operation definition file operation01.
-password FTP-password For FTP-password, specify the FTP user password used when connecting to the FTP server. 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. • The system cannot acquire information from the operation definition file linked to the operation ID. • A connection to the FTP server or file transmission fails.
that the contents of the HOST_ROLE and MAX_LOG_LINES entries in the host environment settings file are set as described in the table below. Table 10 Items checked in the host environment settings file Item Items checked • Both the name and value of the item are specified. • Only one item is specified. • The length of the value in characters does not exceed the maximum value. HOST_ROLE • If the -db argument is specified in the extended command, DB is specified as the item.
Conditions Causing an Error This extended command fails in the following cases: • An invalid option is specified. • The file specified in the argument does not exist, or the system cannot access the file. • The check of the contents of the file for setting up the host environment detects an abnormality. Examples • In this example, the extended command is used to check the contents of the host environment settings file C:\Program Files\drm\SCRIPT\conf\host.
If all copy groups have been used for backup processing, the command specifies the oldest copy group used for backup processing. Prerequisites The prerequisites for executing this extended command are as follows: • The operation definition file corresponding to the specified operation ID has been created. • The copy-group list file has already been created when copy groups are resynchronized by using the copy-group list file.
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. • The system cannot acquire information from the operation definition file linked to the operation ID. • Information cannot be acquired from the backup ID file (when no copy group is specified). • Information cannot be acquired from the copy-group list file (when the file is specified).
To clear the cache of the secondary volume when usual operation is in the split state: EX_DRM_CACHE_PURGE operation-ID { -cg copy-group | -cg_file copy-group-list-file } Description This extended command sequentially executes the drmmount and drmumount commands to clear the cache of the secondary volume.
NOTE: Before you attempt to back up the file system or the database to a secondary volume, execute this extended command for all secondary volumes of resources to be backed up. If you back up data without clearing the cache of the secondary volume, when you mount the secondary volume, the existing cache is overwritten to the secondary volume, and the backup data might be lost.
EX_DRM_MOUNT (Mounts a secondary volume) Formats To mount a volume in a basic disk configuration: EX_DRM_MOUNT operation-ID [ -copy_group copy-group-name | -force ] [ -mount_pt mount-point-directory-name ] To mount a volume in a dynamic disk configuration: EX_DRM_MOUNT operation-ID [ -mount_pt mount-point-directory-name ] [ -force ] [ -conf ] Description The EX_DRM_MOUNT command mounts a secondary volume and locks the appropriate copy group.
-copy_group copy-group-name Specifies the name of the copy group to be mounted. You must clear the system cache before backing up data. When doing so, specify a copy group from the backup server and mount the secondary volume. Then, when you unmount the secondary volume with the EX_DRM_UMOUNT command, the system cache is cleared.
Application-Agent-installation-directory\DRM\conf\vm\CG_MP.
-exopt Specify this option when you want to use extended functions. You must specify -exopt to specify another option. However, you can omit -exopt if you specify neither the -force nor -bup_env options. -mount_pt mount-point-directory-name Specify the name of the mount point directory on which the secondary volume is to be mounted. The secondary volume is mounted at the specified mount point, and data is backed up from the secondary volume to a tape device.
If you omit this option, the extended command terminates with an error without mounting if the following condition also holds: the copy group name, LDEV number, and SERIAL number of the primary volume, which were obtained when the file server or database server was backed up, do not match the information on the file server or database server. Specify this option when you need to forcibly mount a secondary volume using only the copy group name of the primary volume as a key.
• In this example, the extended command is used to forcibly mount the secondary volume identified by the operation ID operation01 and execute a tape device backup: EX_DRM_TAPE_BACKUP operation01 -exopt -backup -force EX_DRM_TAPE_RESTORE (Restores data from backup tape to the secondary volume) Formats EX_DRM_TAPE_RESTORE operation-ID -backup_id backup-ID [ -exopt [ -mount_pt mount-point-directory-name][ -raw ] [ -force ] [ -bup_env configuration-definition-file-name] ] The command can also be executed in t
• The backup ID to be specified in this extended command has already been determined by executing the drmtapecat command. • The mount point directory has been created. Take the command retry period into consideration when you execute more than one EX_DRM_TAPE_RESTORE command concurrently. For details about the settings, see the notes on command execution in the HP P9000 Replication Manager Software Application Agent CLI User Guide.
When this option is omitted, the following mount point is used: Any drive not being used when the extended command is executed. -raw Specify this option when the data to be restored was backed up to a tape device as raw device data. If the target data has been backed up by the EX_DRM_TAPE_BACKUP extended command with the -raw option specified, this extended command executes restore processing normally even when this option is omitted.
Conditions Causing an Error This extended command fails in the following cases: • An invalid option is specified. • The system cannot acquire information from the definition file linked to the operation ID. • A specified Application Agent command option cannot be specified as an extended command option. • The system cannot acquire information from the backup ID file. • A command executed inside the extended command encounters an error.
If the secondary volume has already been mounted by the EX_DRM_MOUNT command, executing any of the following commands makes it impossible to unmount the secondary volume with the EX_DRM_UMOUNT command.
[ -svol_check ] ] Description This extended command executes the drmsqlbackup command to back up the SQL Server database of the instance that was specified by the operation ID from the primary volume to the secondary volume. When this extended command performs a backup, a backup ID is generated. If the data files, databases, and other objects of the resolved instance exist on multiple volumes, all primary volumes will be backed up to the secondary volumes.
Database of interest#1 File type of interest Backup file name Storage destination for backup files Transaction log file Same as the backup source file name Secondary volume Metafile#2 Varies depending on the VDI metafile storage directory specified with the -drmsqlinit command#3 #1: If you do not specify the –system option, only the user database is backed up. #2: This file is created when the drmsqlbackup command is executed.
• The following reserved characters cannot be used in backup comments: \ / ` | < > " * ? & ; ( ) $ A hyphen (-) cannot appear as the first character in the backup comment. If you specify two consecutive double quotation marks ("") after the -comment option, no backup comment will be registered in the backup catalog. -rc name-identifying-the-generation Use this option to specify the name identifying the generation of the copy group to be backed up.
-auto_import Specify this option to automatically transfer a backup catalog to a backup server after backing up a volume. You must specify this option together with the -s option. -auto_mount mount-point-directory-name Specify this option to automatically mount a secondary volume on a backup server after backing up a volume. You must specify this option together with the -s and -auto_import options. Specify the mount-point-directory-name parameter by using a character string that is 64 bytes or less.
• An invalid option is specified. • The system cannot acquire information from the operation definition file linked to the operation ID. • A specified Application Agent command option cannot be specified as an extended command option. • The system fails to record a backup ID in the backup ID record file. • A command executed inside the extended command encounters an error. • The command fails to obtain the name of the directory where dictionary map files are stored.
• The specified item appears only once. • The number of characters does not exceed the maximum allowable for the item. In addition, the command checks the contents of the operation definition file for the items listed in the following table.
The table below lists the directories that are automatically created by the checking tool.
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. • The file specified in the argument does not exist, or the system cannot access the file. • The system cannot access the database server (when the -db option is specified). • The system detects an error in the results of the file check. • The command fails to create a temporary directory.
To apply only metafiles to the primary volume: EX_DRM_SQL_RESTORE operation-ID -no_resync [ -undo ] [ -nochk_host ] [ -target database-name | -f database-list-file ] Description This extended command executes the drmsqlrestore command to restore backup data from the secondary volume to the primary volume for a specified database. Prerequisites The prerequisites for executing this extended command are as follows: • An operation definition file linked to the specified operation ID has been provided.
Specify this option to restore the database to standby mode. When you specify this option, the database can be used in the read-only mode after restoration. A temporary file is created for each database in the undo-log file storage directory registered by using the drmsqlinit command. If you do not specify this option, this extended command performs normal restoration. Immediately after normal restoration, the database will be placed in the loading status, in which you cannot use the database.
NOTE: • The backup information in the backup catalog is managed based on the use of a copy group as a key. Depending on the backup method, you might not be able to perform restoration, even though the backup data exists on the secondary volume. For further information, see the notes on running Application Agent in the HP P9000 Replication Manager Software Application Agent CLI User Guide. • If ONLINE is set in CLU_MSCS_RESTORE in the Application Agent configuration definition file (init.
Description This extended command executes the drmsqllogbackup command to back up the SQL Server's transaction log linked to the specified operation ID. Prerequisites The prerequisite for executing this extended command is as follows: • An operation definition file linked to the specified operation ID has been provided. • None of the transaction log backup functions provided by SQL Server (such as BACKUP LOG and the log distribution function) are being used.
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. The system cannot acquire information from the definition file linked to the operation ID. A command executed inside the extended command encounters an error. The command fails to obtain the name of the directory where dictionary map files are stored.
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.
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 temporary folder for extended commands has been created. 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.
[ [ [ [ [ -event_check ] [ -comment backup-comment ] -rc [ name-identifying-the-generation ]] -pf copy-parameter-definition-file ] -script user-script-file-name ] -s backup-server-name [ -auto_import [ -auto_mount [ mount-point-directory-name ]] ] [ -svol_check ] ] To perform an online backup (Exchange Server 2003): EX_DRM_EXG_BACKUP operation-ID -mode online [ -hostname virtual-server-name ] [ -event_check ] [ -comment backup-comment ] [ -rc [ name-identifying-the-generation ]] [ -pf copy-parameter-defi
The entire database or an Information Store can be backed up. The table below indicates the files that are backed up. Table 15 Files backed up for an Exchange Server Option Database backed up Files backed up *.edb *.stm# Data files The target file type is fixed The target file type is fixed Exchange Server storage group Exchange Server Information Store # Files with the .stm extension exist only when Exchange Server 2003 is being used. Transaction log files *.log Checkpoint files *.
-transact_log_del Specify this option to delete a committed transaction log file. By deleting the transaction log file, you can increase the amount of unused drive capacity. If you delete a transaction log file, you will no longer be able to use the -recovery option to restore any previous backups. Specify this option when you want to restore data other than the most recent backup data without specifying the -recovery option. If you are using circular logging, this option is ignored.
• When a reserved character or a one-byte space character is used, the entire value must be enclosed in double quotation marks ("). • If the value contains a reserved character, but is not enclosed in double quotation marks, the reserved character is not correctly interpreted as a part of the backup-comment string, and is parsed as a reserved character.
Specify this option to execute a user script. Specify user-script-file-name as an absolute path. The conditions for specifying a value in the user-script-file-name parameter are as follows: • • • • The value must be 255 bytes or less. The value can include alphanumeric, one-byte space, and multi-byte characters. The value is case sensitive. If the value contains space characters, the entire parameter must be enclosed in double quotation marks (").
or restoration failures. The items, volumes, and conditions to be checked are described in the following table. Table 16 Status check of a secondary volume Check item A secondary volume is hidden from a backup server Volume to be checked All secondary volumes defined for a backup-target primary volume Check condition Checked when a primary volume is defined in pairs with multiple generations of secondary volumes and any of the following items is applicable: • A primary volume is a cluster resource.
• In this example, the extended command is used first to delete the transaction log file based on the settings specified in the operation definition file operation01, and then to back up the database to the secondary volume: EX_DRM_EXG_BACKUP operation01 -transact_log_del EX_DRM_EXG_DEF_CHECK (Checks the contents of an operation definition file and automatically creates a temporary directory) Formats To check the contents of an operation definition file for a database server by specifying an operation ID:
Item name Details to be checked • The Exchange Server name or virtual server name exists. DB_SERVER_NAME • If SET_DRM_HOSTNAME is set to 1, the value of DB_SERVER_NAME matches the database server name set in DRM_DB_PATH of the Application Agent configuration definition file init.conf. INSTANCE_NAME A hyphen (-) is specified. TARGET_NAME A storage group name exists.#1 FTP_HOME_DIR • The specified directory exists.#2, #3 • An absolute path is specified.
• If the command is executed on the database server, it is able to access the domain controller of the Windows domain that manages the Exchange Server. The DNS service must be running on the database server. 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.
EX_DRM_EXG_DEF_CHECK OP0001 -bk By specifying the operation definition file: EX_DRM_EXG_DEF_CHECK -bk -f "C:\Program Files\drm\script\conf\_OP0001.
Description This extended command executes the drmexgrestore command to restore backup data from the secondary volume to the primary volume for a specified database. 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 has been stored in a backup ID file by executing either the EX_DRM_BACKUPID_SET or EX_DRM_DB_IMPORT extended command.
As with the -target option, specify this option to restore specific storage groups or Information Stores. Unlike the -target option, the -f option lets you specify a target definition file, which contains all the storage groups or Information Stores to be restored. The target definition file containing the list of storage groups or Information Stores must be created before you use this option. Use an absolute path to specify the target definition file.
Specify this option to specify the VSS definition file used during a VSS backup. You can specify this option only when restoring backup data that was obtained by using VSS. If you specify this option when restoring data other than backup data obtained by using VSS, this option will be ignored. Specify the VSS-definition-file-name parameter as a file name only; do not specify the parameter as a path.
NOTE: Note the following when restoring Information Stores from backup data obtained by using VSS when using Exchange Server 2003 or Exchange Server 2007: - When restoring Information Stores, if you specify both an Information Store and a storage group of the same storage group, an error will occur. - When restoring Information Stores, if you specify a storage group and an Information Store of different storage groups, the backup data is restored as storage groups and Information Stores respectively.
• In this example, the extended command is used to restore Information Store IS12 of storage group SG1, based on the settings specified in the operation definition file operation01: EX_DRM_EXG_RESTORE operation01 -resync -recovery -target SG1\IS12 EX_DRM_EXG_VERIFY (Verifies the consistency of an Exchange database) Format EX_DRM_EXG_VERIFY operation-ID [ -mount_pt mount-point-directory-name ] [ -force ] Description The EX_DRM_EXG_VERIFY extended command executes the drmmount command, the drmexgverify comm
When only a drive name is specified, this command searches for unused drives in alphabetical order, and mounts the secondary volume onto the specified drive. When a drive is specified by a path including a drive letter, this command mounts the volume onto path-specified-in-mount_point\ drive-letter-of-primary-volume\mount-point-of-primary-volume. For example, if the primary volume is mounted on M:\MNT, and S:\SVOLMNT is specified with the -mount_pt option, the secondary volume is mounted on S:SVOLMNT\M\MNT.
• The system cannot acquire information from the operation definition file linked to the operation ID. • A command executed inside the extended command encounters an error.
2 Basic commands This chapter describes the basic commands provided by Application Agent. List of basic commands The table below lists the basic commands that Application Agent provides. Table 19 List of basic commands (file system backups) Basic command name Function summary drmfsbackup Backs up a file system to a secondary volume. drmfscat Displays a list of the backup information for a file system. • Displays a list of file system information. drmfsdisplay • Updates the dictionary map files.
Basic command name Function summary drmmediarestore Restores backup data from a tape device. drmmount Mounts a secondary volume. drmtapecat Displays a list of backup information for a tape device. drmtapeinit Registers the parameters for a backup management product. drmumount Unmounts a secondary volume. Table 22 List of basic commands (utility commands) Basic command name Function summary drmdbsetup Creates or deletes a Protection Manager database.
Before reading the basic command descriptions Note the following before reading the basic command descriptions: Do not forcibly terminate a basic command that is being executed. If you do so, the pair status of the copy group or the backup catalog might enter an unexpected status. For further information, see the description of permissions for command execution in the HP P9000 Replication Manager Software Application Agent CLI User Guide.
File name Use alphanumeric characters to specify the file name. File contents The contents of the file must adhere to the following conventions: • Each parameter (file name, directory name, SQL Server database name, storage group name, or Information Store name) must be specified on one line. • Lines beginning with a hash mark (#) are assumed to be comment lines.
# Protection Manager 3.5 # Log Backup Files [SQLDB001] C:\MSSQL\BackupLog\SQLDBLog001.bak C:\MSSQL\BackupLog\SQLDBLog002.bak C:\MSSQL\BackupLog\SQLDBLog003.bak [SQLDB002] C:\MSSQL\BackupLog\SQLDB2Log001.bak C:\MSSQL\BackupLog\SQLDB2Log002.bak C:\MSSQL\BackupLog\SQLDB2Log003.bak Correspondence with Replication Manager GUI terms Some terms used in the Application Agent command line interface have different meanings from those used in the Replication Manager GUI.
Basic command specifications (File system backups) drmfsbackup (Backs up a file system to a secondary volume) Formats To perform an online backup: drmfsbackup { mount-point-directory-name | mount-point-directory-target-definition-file-name } [ -mode online ] [ -rc [ name-identifying-the-generation ]] [ -pf copy-parameter-definition-file ] [ -comment backup-comment ] [ -script user-script-file-name ] [ -s backup-server-name [ -auto_import [ -auto_mount [ mount-point-directory-name ]] ] [ -svol_check ] ] To
When the drmfsbackup command is executed on the local site and the pair status is SMPL, the command does not automatically create a pair. In this case, if the PAIR_CREATE parameter in the RAID Manager-linkage definition file (DEFAULT.dat) is set to ENABLE, the command automatically creates a pair.
If you omit this option, online backup is assumed. -mode vss Specify this option to perform a VSS backup. To use this option, the Protection Manager service must be running on the backup server. -rc name-identifying-the-generation Use this option to specify the name identifying the generation of the copy group to be backed up. Execute the drmfsdisplay command with the -cf option, and specify the displayed GEN-NAME value. In a single volume, a hyphen (-) appears.
The following special characters cannot be used in backup comments: \ / ` | < > " * ? & ; ( ) $ Note that the first character must not be a hyphen (-). If you specify two double quotation marks after the -comment option, as in -comment "", no backup comment will be registered in the backup catalog. -vf VSS-definition-file-name Specify this option to switch the settings to be used for each VSS backup. You can use this option only when using VSS for backup.
To unmount the mounted secondary volume, use the drmumount command. -svol_check Specify this option to check the status of a secondary volume on a backup server. This option must be specified concurrently with the -s option. Checking the status of a secondary volume prevents backup or restoration failures. The items, volumes, and conditions to be checked are described in the following table.
The location of the mount point directory target definition file: Application-Agent-installation-directory\DRM\conf\fs\APP1 Contents of the mount point directory target definition file: D: E: F:\MNT • In this example, the command is used to perform an online backup to a remote site: PROMPT> drmfsbackup F: -rc remote_0 • In this example, the command is used to back up by using VSS: PROMPT> drmfsbackup H: -mode vss KAVX0001-I The drmfsbackup command will now start. KAVX0019-I Copying file(s) now...
Displayed item Description ORIGINAL-ID Original backup ID obtained by the drmfsbackup command START-TIME Start time of a snapshot backup END-TIME End time of a snapshot backup HOSTNAME Server name where the snapshot backup was performed Object type T (F, which means file, is always displayed.
Displayed item Description BACKUP-COMMENT Backup comment #1 If this command is executed with the -device option, DEVICE will be displayed after T. #2 This information is displayed when the command is executed with the -v option. A hyphen (-) is displayed for any item that cannot be displayed. If no items can be displayed, an error message is displayed. Each item is separated by a space.
Specify this option to display backup information for specific files or directories on the file system specified by the mount-point-directory-name argument. Create a target definition file that contains a list of absolute paths of the mount point directories, drives, or volume mount points for which you want to display information. By specifying the target definition file name, you can collectively specify all of the targets for which you want to display information.
character but is not enclosed in double quotation marks, the special character is not properly handled as a part of the backup-comment string and is parsed as a special character. If you specify -comment "*", the command will display all backup catalogs. If two double quotation marks are specified after the -comment option (as in -comment ""), a message is displayed indicating that no backup data exists.
PROMPT> drmfscat D: -hostname FILESERV1 INSTANCE: D: BACKUP-ID:0000000001 BACKUP-MODE: COLD INSTANCE: D: ORIGINAL-ID:0000000001 START-TIME:2002/06/01 10:00:00 END-TIME: 2002/06/01 10:03:00 HOSTNAME: FILESERV1 T FILE FS DG DEVICE COPY-GROUP F D: Harddisk1 VG01,dev01 F VG01,dev01 • In this example, the command is used to display backup information for the file system of the D drive and management information for the backup catalog: PROMPT> drmfscat D: -v VIRTUAL-SERVERNAME: host1 DB-PATH: D:\Program Files\CV
drmfsdisplay (Displays or updates file system information) Formats To display file system information: drmfsdisplay [ mount-point-directory-name ] [ -target file-or-directory-names | -f target-definition-file-name ] [ -device device-file-name ][ -l ] [ -v ][ -cf ] To update the information in the dictionary map files: drmfsdisplay -refresh Description The drmfsdisplay command performs the following three functions: 1. 2. 3.
Displayed item Description PORT# Port name on the server host side TID# Target ID on the server host side LUN# Logical unit number on the server host side MU# Pair identifier LDEV# Logical device number across RAID devices Letter identifying whether the volume is primary or secondary: P: Primary volume of a pair P/S S: Secondary volume of a pair -: A volume that is not part of a pair SERIAL# Serial number across RAID devices Copy type COPY-FUNC Copy type: The name of the copy type varies de
Specify the drive letter of the file system for which you want to display information, or specify its absolute path starting with the drive letter. Do not specify a backslash (\) at the end of the path. If this argument is not specified, the command targets all file systems. -target file-or-directory-names Specify this option to display information about specific files or directories. Use absolute paths to specify the file names or directory names.
If the disk configuration has changed, always update the dictionary map files. NOTE: When specifying on the command line a file name or directory name containing space characters for the -target option or the -f option, you must enclose the file name in double quotation marks ("). Note that enclosing with double quotation marks is not necessary for target paths specified in batch definition files.
PROMPT> drmfsdisplay D: -v VIRTUAL-SERVERNAME: host1 DB-PATH: D:\Program Files\CVXPAE\DRM\db2 INSTANCE: D: CORE-MAPFILE-UPDATE-TIME: 2002/06/01 10:00:00 APP.
2. 3. The command confirms that the file system has been unmounted, and then resynchronizes the disks by restoring the backup data from the secondary volume to the primary volume. The command mounts the file system again. The following explains the command processing for restoration in a cluster configuration: 1. The command automatically takes the disk resource offline when the disk resource in the file system to be restored is brought online.
Before a backup After a backup Primary volume Primary volume Command execution result Secondary volume GPT disk Command status Error message (DRM-10337) Before resynchronizing#2 MBR disk Error message (KAVX5171-E or KAVX5137-E) GPT disk Normal termination GPT disk After resynchronizing#1 #1 The error message is displayed after resynchronizing. #2 The error message is displayed before resynchronizing. Arguments backup-ID Specify the backup ID of the backup data you want to use for restoration.
containing space characters, enclose the directory name in double quotation marks ("). You cannot specify a backslash (\) at the end of the path. If you omit both this option and the -f option, the entire file system registered in the backup catalog will be restored. -f target-definition-file-name Specify this option to restore the file system that contains the specific file or directory. Use the file or directory name registered in the backup catalog specified by the backup ID.
Examples • In this example, the command is used to restore data from the secondary volume to the primary volume, which resynchronizes the disks. The backup data used for restoration is identified by the backup ID 0000000001. PROMPT> drmfsrestore 0000000001 -resync • In this example, the command is used to restore data from the secondary volume to the primary volume, which resynchronizes the disks. The backup data used for restoration is identified by the backup ID 0000000001.
Displayed item Description BACKUP-MODE Backup mode HOSTNAME#2 Name of the server where the snapshot backup was performed BACKUP-OBJECT Snapshot backup object type INSTANCE#2, #3 • The name of the instance of the backup target (for a database) • The name of the mount point directory (for a file system) START-TIME Start time of a snapshot backup END-TIME End time of a snapshot backup VIRTUAL-SERVERNAME Virtual server name (value of the DRM_HOSTNAME environment variable) DB-PATH Name of the di
• Virtual server name (value of the DRM_HOSTNAME environment variable) If the DRM_HOSTNAME environment variable has not been set, a hyphen (-) appears. -comment backup-comment Specify this option to display only information on a specific backup comment. The backup-comment value is not case sensitive. You can use an asterisk (*) to specify a wildcard in backup-comment.
2003/10/02 18:59:37 PROMPT> • In this example, the command is used to display the backup catalog list and backup catalog management information, with backup comments: PROMPT> drmappcat -v -comment "Comment*" VIRTUAL-SERVERNAME: host1 DB-PATH: D:\Program Files\CVXPAE\DRM BACKUP-COMMENT BACKUP-ID BACKUP-MODE BACKUP-OBJECT START-TIME END-TIME Comment1 0000000162 ONLINE FILESYSTEM 2003/10/02 18:24:35 2003/10/02 18:59:37 Comment2 0000000251 ONLINE MSSQL 2003/10/03 18:55:15 2003/10/03 18:59:37 PROMPT> • In this
Arguments -copy_group copy-group-name Specify the name of the copy group you want to lock or unlock. You can confirm that the logical volumes are the same by executing the drmfsdisplay command and checking the items listed for LVM-DEVICE. In environments where one logical volume group comprises multiple copy groups, if the multiple generation backup function is used, the number of generations of all copy groups comprising the logical volume group must match.
PROMPT> drmcgctl -copy_group VG01,dev01 -mode unlock • In this example, the command is used to lock the copy groups used for the backup identified by the backup ID 0000000001: PROMPT> drmcgctl -backup_id 0000000001 -mode lock • In this example, the command is used to unlock the copy groups used for the backup identified by the backup ID 0000000001: PROMPT> drmcgctl -backup_id 0000000001 -mode unlock drmclusinit (Registers the parameters for the cluster software) Formats To register the parameters for the
Registered item Description Enter the disk resource name. You do not need to enter the service resource name. Resource name • For an environment with Veritas Storage Foundation: Enter the cluster resource name for mount-point (logical volume)#1 and disk-group#2. Enter the following information, based on the resource name: • When mount-point is specified: Disk name (required when D has been specified for the resource type) Enter a mount point (such as D:).
NOTE: Execute the drmclusinit command before performing backup. If you have changed the cluster configuration, execute the drmclusinit command to re-specify the cluster information. Execute the drmclusinit command on both the active server and standby server. The resource information to be registered by using the drmclusinit command must completely match the information registered in the cluster software.
Examples • In this example, the command is used to register, for a disk configuration that uses Veritas Storage Foundation, the parameters for controlling the cluster software (for Exchange Server). This example is based on the configuration below. For SQL Server, the storage group portion is the SQL instance. Virtual server name: VHOST1 Service group name: ServiceGroup-Exc Disk configuration: See the following table.
Storage group Mount point Disk group Physical disk F: (resource name is MountV-F) DG2 (resource name is VMDG-2) Harddisk3 F:\mnt (resource name is MountV-F-mnt) DG3 (resource name is VMDG-3) Harddisk4 PROMPT> drmclusinit VCS KAVX0313-I Enter the virtual host name: VHOST1 KAVX0310-I Enter the resource group name: ServiceGroup-FS KAVX0317-I Enter the instance name: KAVX0311-I Enter the resource name: MountV-E KAVX0314-I Enter the resource type (S for service.
• When the backup is of a file system, use the drmfscat command. • When the backup is of an SQL Server database, use the drmsqlcat command. • When the backup is of an Exchange database, use the drmexgcat command. -f export-destination-file-name Use an absolute path to specify the file to which you want to export the backup information. Use a maximum of 511 bytes for a file name. If the specified export destination file already exists, the existing file is overwritten.
Example • In this example, the command is used to import the backup information from the file D:\tmp\ 0000000001.drm: PROMPT> drmdbimport -f D:\temp\0000000001.
Description This command conceals or reveals physical volumes of storage system devices connected to the server. By concealing physical volumes from the server and controlling access, you can prevent errors caused by user operations. In addition, you can conceal physical volumes and obtain backups either in Veritas Storage Foundation environments or by using Fast Snap or Snapshot, and then store multiple generations of these backups on secondary volumes.
-sigview Displays the disk signatures of the physical volumes. Use this option to restore operation when the KAVX5137-E message is output and the restoration command terminates with an error. • When a backup ID is specified with the -sigview option: The disk signature recorded when the backup was made is displayed. You can use this to compare the value of the current disk signature with the value at the time the backup was created.
• When the -sigset option and the -copy_group copy-group-name are specified at the same time, the current disk signature is updated in accordance with the specified disk signature that follows the -sigset option. In this case, a disk signature must always be specified. The disk signature to be specified differs depending on the partition style. The following table lists partition styles and corresponding disk signatures to be specified.
NOTE: A backup ID and the -copy_group option cannot be specified at the same time. If neither the backup-ID option nor the -copy_group option is specified, the secondary volumes of all copy groups managed by Application Agent will be targeted. The RAID Manager instance used by Application Agent is specified in the RAID Manager-linkage definition file (DEFAULT.dat) as HORCMINST=n.
Examples • In this example, the command conceals the secondary volumes of all copy groups, and performs a drive rescan: PROMPT> drmdevctl -detach • In this example, the command conceals the secondary volumes of the copy groups registered in the backup catalog, and performs a drive rescan: PROMPT> drmdevctl 0000000002 -detach • In this example, the command is used to execute multiple conceal operations for the secondary volumes of copy groups, and to perform a drive rescan at the end: PROMPT> PROMPT> PROMP
PROMPT> drmdevctl 0000000002 COPY_GROUP DEVICE TYPE VG01,dev01 Harddisk10 MBR VG01,dev02 Harddisk11 MBR -sigview CUR_DISKID BKU_DISKID ABCDEF01 ABCDEF00 ABCDEF02 ABCDEF03 • In this example, the command is used to display the current disk signature of the local volume for the copy group VG01,dev01: PROMPT> drmdevctl -copy_group VG01,dev01 -sigview COPY_GROUP DEVICE TYPE CUR_DISKID BKU_DISKID VG01,dev01 Harddisk10 MBR ABCDEF01 -------- • In this example, for the copy group recorded in the backup catalog th
Displayed item Description Product version. If this option is not specified, the information is displayed in the format VV.R.r.AASS(VV-Rr-as#1)#2. The following are examples: HP StorageWorks P9000 Replication Manager Application Agent Copy Controller 7.0.0-00: 07.0.0.0000(07-00) HP StorageWorks P9000 Replication Manager Application Agent Copy Controller 7.0.0-01: VERSION 07.0.0.0001(07-00-01) If the -i option is specified, the information is displayed in the format VV.R.r.AASS#2.
Examples The following are examples of using Application Agent version 7.0. • In this example, the drmhostinfo command is used to display host information: PROMPT> drmhostinfo PRODUCT VERSION HP StorageWorks P9000 Replication Manager Application Agent Copy Controller 07.0.0.0000(07-00) HP StorageWorks P9000 Replication Manager Application Agent for SQL 07.0.0.
command when the PAIR_CREATE parameter in the RAID Manager-linkage definition file (DEFAULT.dat) is set to ENABLE. Arguments -copy_group copy-group-name Specify the name of the copy group you want to resynchronize. To check the copy group name, execute either of the following commands according to what was backed up: • When the backup is of a file system, use the drmfscat command. • When the backup is of an SQL Server database, use the drmsqlcat command.
Examples • In this example, the command is used to resynchronize the copy group VG01,dev01: PROMPT> drmresync -copy_group VG01,dev01 • In this example, the command is used to lock the copy groups used in the backup identified by the backup ID 0000000001: PROMPT> drmresync -backup_id 0000000001 Basic command specifications (Tape-related commands) drmmediabackup (Backs up data from a secondary volume to a tape device) Format drmmediabackup backup-ID [ -raw ] [ -bkdir backup-file-directory ] [ -bup_env confi
Take the command retry period into consideration when you execute more than one drmmediabackup command concurrently. For details about the settings, see notes on command execution in the HP P9000 Replication Manager Software Application Agent CLI User Guide. Arguments backup-ID Specify the backup ID for the secondary volume that contains the backup data to be copied to a tape device. A backup ID uniquely identifies backup data and is registered in the backup catalog during backup.
Create a configuration definition file in the directory containing the default configuration definition file. For further information, see the description of configuration definition file creation in the HP P9000 Replication Manager Software Application Agent CLI User Guide.
If you input BEWS for the drmtapeinit command to link with Backup Exec, the drmmediarestore command will mount the secondary volume for restoration, and then display a message. Use the Backup Exec windows to restore the data according to the instructions shown in the message. After restoration, enter one of the following keywords: • YES (normal termination) • NO (termination with an error) • CANCEL (operation canceled) After restoration with Backup Exec finishes, enter the correct keyword.
Specify this option to specify a start parameter for the user-defined configuration definition file, when either backup operations are performed to tape, or restore operations are performed from tape. If you omit this option, the default configuration definition file is used. So, you need to create the default configuration definition file in advance. Create a configuration definition file in the directory containing the default configuration definition file.
• To mount a secondary volume for backup or restoration • To clear the system caches before a backup • To mount the secondary volume that was unmounted after the backup or restoration If the copy group mount definition file exists, the mount point specified in this file is used as the mount point for the secondary volume. For details about the copy group mount definition file, see the settings for mounting a secondary volume in the HP P9000 Replication Manager Software Application Agent CLI User Guide.
If you specify an absolute path from the drive letter as the mount point directory name, the command mounts the secondary volume on the following location: When mounting the secondary volume by specifying the copy group name: absolute-path-specified-for-mount-point-directory-name When mounting the secondary volume by specifying the backup ID: absolute-path-specified-for-mount-point-directory-name\ primary-volume-drive-letter\primary-volume-mount-point If a path does not end with a backslash (\), the command
Any value other than 0: Termination with an error Examples • In this example, the command is used to mount the secondary volume identified by the backup ID 0000000001 to D:: PROMPT> drmmount 0000000001 -mount_pt D: If several secondary volumes have been backed up with the backup ID 0000000001, the command searches for an unused drive in alphabetical order beginning from the D drive, and mounts the secondary volume to the first found drive.
Description The drmtapecat command lists the backup information about tape backups, which is stored in the backup catalog on the server where the command was executed. The backup catalog displayed is that created with the drmmediabackup command. By checking the backup information, you can confirm information about the objects corresponding to the backup ID, and hence confirm the backup ID to be used for restoration.
- will be displayed unless the NetBackup master server, media server, and client server are all configured on the host where a tape backup is executed. Refer to the NetBackup image catalog to check the media label name. #4 When the -bkdir option is specified, this information is displayed. #5 When the -v option is specified, this information is displayed. #6 When the -v and -o options are specified, this information is displayed. A hyphen (-) is displayed for any item that cannot be displayed.
For each backup ID, displays the time when the backup catalog was created. This information is displayed only when the -o option is specified. -o FILESYSTEM Specify this option to display the information for a backup from a primary volume to a secondary volume, and the type of backup object is a file system. -o MSSQL Displays detailed information for the backup that was registered when a snapshot backup was performed for the backup information about the instance for the backup object type.
• -hostname drmexgcat-command-options You can specify the following options for the drmexgcat command. For details about the functions of the options, see the description of the drmexgcat command. • -target • -f • -device • -transact_log • -datafile • -l • -v • -backup_id • -hostname -delete Specify this option to delete the backup information for the backup catalog.
PROMPT> drmtapecat BACKUP-ID BACKUP-OBJECT BACKUP-MEDIA 0000000002 FILESYSTEM MEDIA3 0000000003 FILESYSTEM MEDIA4 SNAPSHOT TIME EXPIRATION TIME 2002/02/01 11:00:00 2002/05/01 11:00:00 2002/02/01 11:30:00 2002/05/01 11:30:00 • In this example, the command is used to display the backup information of the backup ID 0000000002: PROMPT> drmtapecat -backup_id 0000000002 BACKUP-ID BACKUP-OBJECT SNAPSHOT TIME BACKUP-MEDIA 0000000002 FILESYSTEM 2002/02/01 10:30:00 MEDIA2 EXPIRATION TIME 2002/05/01 10:30:00
DB-PATH: D:\Program Files\CVXPAE\DRM\DB2 KAVX0024-E The specified backup data does not exist.
VG01,dev02 - VG01,dev02 T TRANSACT VG01,dev02 - VG01,dev02 T TRANSACT VG01,dev02 - VG01,dev02 T TRANSACT VG01,dev02 - VG01,dev02 C CHECKPOINT VG01,dev02 - VG01,dev02 - - - - - - E:\STR1\E000001.log E: - Harddisk2 - - - - - - E:\STR1\E000002.log E: - Harddisk2 - - - - - - E:\STR1\E000003.log E: - Harddisk2 - - - - - - E:\STR1\E00.
The following table lists the parameters for backup management products that can be registered by using this command. Table 36 Parameters for backup management products Registration item Description Specify NBU or BEWS. Name of the backup management product When using NetBackup, specify NBU. When using Backup Exec, specify BEWS. Specify the number of days to store backup information.
Backup application name: NBU Days to keep the backup catalog: 1 PROMPT> • In this example, the command is used to register the parameters for linking with Backup Exec: PROMPT> drmtapeinit KAVX0411-I Enter the backup management product name BEWS KAVX0417-I Enter the number of days to store the backup catalog: 1 KAVX0414-I Backup parameters were updated PROMPT> : • In this example, the command is used to display the parameters for linking with Backup Exec: PROMPT> drmtapeinit -v Backup application name:
If you execute any of the following commands when the secondary volumes have been mounted by the drmmount command, you will no longer be able to use the drmumount command to unmount the secondary volumes. • drmfsbackup • drmresync If the unmount cannot be performed using the drmumount command, unlock the copy group corresponding to the backup ID specified for the drmcgctl command, and unmount the secondary volume as follows: • Use the unmount functionality of RAID Manager.
Basic command specifications (Utility commands) drmdbsetup (Creates and deletes Application Agent databases) Formats To create backup catalog information and the dictionary map files: drmdbsetup -i To delete backup catalog information and the dictionary map files: drmdbsetup -u Make sure that you specify an absolute path when executing the drmdbsetup command. The absolute path of this command is as follows: Application-Agent-installation-directory\DRM\bin\util\drmdbsetup.
Basic command specifications (SQL Server database backups) drmsqlbackup (Backs up an SQL Server database to a secondary volume) Formats To back up: drmsqlbackup { instance-name | DEFAULT } [ -system | target database-name | -f target-definition-file-name ] [ -rc [ name-identifying-the-generation ]] [ -pf copy-parameter-definition-file ] [ -comment backup-comment ] [ -script user-script-file-name ] [ -s backup-server-name [ -auto_import [ -auto_mount [ mount-point-directory-name ]] ] [ -svol_check ] ] To cr
If you specify an instance that is not running, the command fails. All the user databases included in the instance are to be backed up. The system databases (master, model, and msdb) for SQL server are not included. You can back up system databases in either of the following ways: • Execute the command with the -system option specified. • Execute the command by specifying system databases (master, model, and msdb) with the -target or -f option.
Database of interest#1 msdb User database Distribution database File type of interest Backup file name Storage destination for backup files Metafile#2 Varies depending on the VDI metafile storage directory specified with the -drmsqlinit command#3 Data file Same as the backup source file name Secondary volume Transaction log file Same as the backup source file name Secondary volume Metafile#2 Varies depending on the VDI metafile storage directory specified with the -drmsqlinit command#3 Data
-target database-names Specify this option to back up a particular database in the specified instance. When specifying multiple databases to be backed up, use a comma to separate each database name. If you specify a database name containing a space character, enclose the database name in double quotation marks ("). Make sure that you specify the database in the instance instance-name. If you specify databases in separate instances, those databases will not be backed up.
enclosed in double quotation marks, the special character is not properly handled as a part of the backup-comment string and is parsed as a special character. The following special characters cannot be used for backup comments: \ / ` | < > " * ? & ; ( ) $ Note that the first character must not be a hyphen (-). If you specify two double quotation marks after the -comment option, as in -comment "", no backup comment will be registered in the backup catalog.
backup or restoration failures. The items, volumes, and conditions to be checked are described in the following table.
Return Values 0: Normal termination Any value other than 0: Termination with an error Examples • In this example, the command is used to perform online backup of all databases in the instance SQLDB: PROMPT> drmsqlbackup SQLDB • In this example, the command is used to perform online backup of databases DB01 and DB02 in the instance SQLDB: PROMPT> drmsqlbackup SQLDB -target DB01,DB02 • In this example, the command is used to perform backup by specifying the backup comment.
KAVX0210-I The user script will now start. Procedure section = SPLIT_PROC KAVX0212-I A command from the user script will now execute. Command line = C:\HORCM\etc\pairsplit.exe -g TC01 -d sql01 -FBC 0 KAVX0213-I A command from the user script has ended. End code = 0 KAVX0212-I A command from the user script will now execute. Command line = C:\HORCM\etc\pairsplit.exe -g TC01 -d sql02 -FBC 0 KAVX0213-I A command from the user script has ended. End code = 0 KAVX0211-I Execution of the user script has finished.
drmsqlcat (Displays backup information for an SQL Server database) Format drmsqlcat instance-name [ -target database-name | -f target-definition-file-name ] [ -transact_log ][ -datafile ][ -metafile ] [ -device device-file-name ][ -l ][ -v ] [ -backup_id backup-ID ][ -hostname host-name ] [ -comment backup-comment ] [ -template ] [ -lsn ] Description The drmsqlcat command displays the backup information of the SQL Server database on the server where the command is executed.
Displayed item Meaning CHECKPOINT-LSN Log sequence number for the starting point of database recovery when a transaction log backup file is restored.
#2 When this command is executed with the -device option specified, this will be displayed after OBJECT. #3 The command executed with the -v option displays this information. A hyphen (-) is displayed for any item that cannot be displayed. If none of the items can be displayed, an error message is displayed. Each item is separated by a space. Arguments instance-name Specify the instance name of the database to display the information for backup.
• • • • The name of the data file File system information Logical volume structure information Physical disk information -metafile Specifies that only information relating to the metafile will be displayed.
The backup-comment value is not case sensitive. You can use an asterisk (*) to specify a wildcard in backup-comment. You can specify that only the initial characters match (for example, specify a string such as XYZ* to search for strings that begin with one or more specific characters and that end with any or no characters). When a wildcard, special character, or one-byte space character is used, the entire backup-comment string must be enclosed in double quotation marks (").
T DB1 - - TRANSACT - D:\SQL\tlog2.
\\?\Volume{df67a5b0-5583-11d5-a410-806d6172696f}\ Harddisk2 VG12,dev02 CLI-A 2 20 0 10020 P - - - 15044 - 15044 VG12,dev02 CLI-A 2 21 0 10021 S • In this example, the command is used to display information, in the long format, about the SQL server database in the instance SQL1.
T - DB1 - TRANSACT - D:\SQL\tlog2.ldf - D: - - Harddisk2 - VG02,dev02 VG02,dev02 VG02,dev02 • In this example, the command is used to display information about the SQL Server database specified by the instance SQL1 and management information for the backup catalog (when a backup is not performed): PROMPT> drmsqlcat SQL1 -v VIRTUAL-SERVERNAME: DB_SVR1 DB-PATH: D:\Program Files\CVXPAE\DRM\db2 KAVX0024-E The specified backup data does not exist.
M DB2 C: D DB1 D: - T DB1 D: - - VG02.dev02 METAFILE C:\METADIR\Meta2 DATAFILE D:\SQL\data2.mdf 259000000004000089 Harddisk2 VG02,dev02 - VG02.dev02 TRANSACT D:\SQL\tlog2.ldf Harddisk2 VG02,dev02 VG02.
Displayed item Meaning The object type: D: Data file T T: Transaction log DB The name of the SQL server database The name of the SQL server object: OBJECT DATAFILE: The name of the data file TRANSACT: The name of the transaction log file FILE The file name FS The mount point directory name FSTYPE The type of file system (NTFS) DG The name of the disk group (for an environment with a logical volume manager), or a hyphen (-) (for a basic disk configuration) LVM-DEVICE The name of the logical d
Displayed item Meaning Copy type COPY-FUNC Copy type: The name of the copy type varies depending on the DKC software product (storage system unit) and microcode version. -: Indicates the volume where a pair volume has not been configured. (Do not create a program that operates using this display.
specify a target definition file name containing a space character, enclose the target definition file name in double quotation marks ("). -transact_log Displays information relating to the transaction log file only.
If DRM_DB_PATH has not been set, the default storage directory for the dictionary map files, which are created automatically during installation, is displayed. • Virtual server name (value of the DRM_HOSTNAME environment variable) If the DRM_HOSTNAME environment variable has not been set, a hyphen (-) appears. • Update time for the dictionary map files Displays the update time separately for the core map file and the application map file.
NOTE: When specifying on the command line a file name or directory name containing space characters for the -target or -f option, you must enclose the file name in double quotation marks ("). Note that enclosing with double quotation marks is not necessary for target paths specified in batch definition files.
\\?\Volume{df67a5b0-5583-11d5-a410-806d6172696f}\ Harddisk1 VG01,dev01 CLI-A 2 10 0 10000 P - - - 15044 VG01,dev01 CLI-A 2 20 0 10020 S T DB1 TRANSACT D:\SQL\tlog2.ldf D: NTFS \\?\Volume{df67a5b0-5583-11d5-a410-806d6172696f}\ Harddisk1 VG01,dev01 CLI-A 2 10 0 10000 P - - - 15044 VG01,dev01 CLI-A 2 20 0 10020 S D DB2 DATAFILE E:\SQL\data1.
PROMPT> drmsqldisplay SQL1 -v VIRTUAL-SERVERNAME: host1 DB-PATH: D:\Program Files\CVXPAE\DRM\db2 INSTANCE: SQL1 CORE-MAPFILE-UPDATE-TIME: 2002/06/01 10:00:00 APP.-MAPFILE-UPDATE-TIME: 2002/06/01 10:00:00 T DB OBJECT FILE FS DG DEVICE D DB1 DATAFILE D:\SQL\data1.mdf D: Harddisk1 - T DB1 TRANSACT D:\SQL\tlog1.ldf D: Harddisk1 - D DB2 DATAFILE E:\SQL\data2.mdf E: Harddisk2 - T DB2 TRANSACT E:\SQL\tlog2.
Description The drmsqlinit command provides an interactive interface that lets you register the SQL Server parameters necessary to back up an SQL Server database. You can register parameters for each instance. This command registers the following information. Table 41 Parameters for the SQL Server Setting Description Use an absolute path to specify the name of the directory for storing a VDI metafile. An existing directory must be specified.
Whether the directories can be specified depends on how to specify the directories. The following table lists whether the directories can be specified.
KAVX1107-I Enter the name of the storage directory for the backup-log files: D:\MSSQL\tlog KAVX1103-I SQL Server information has been updated.
drmsqllogbackup instance-name -d [ -s log-backup-ID ] [ -e log-backup-ID ] To display the detailed information of transaction log files in the log backup catalog: drmsqllogbackup instance-name -lsn Description The drmsqllogbackup command backs up the transaction log file of a SQL server database that was backed up by using the drmsqlbackup command. Use the drmsqlinit command to set the directory to which this file is to be backed up.
-v Specify this option to display a list of the transaction log files that were backed up. Information on the backups of the transaction log files acquired after the backup ID specified together will be displayed. You can take the information displayed by this option, and use it as a transaction log target definition file. BACKUP-ID Specify BACKUP-ID to display the backup IDs of the backups for the specified instance.
-e log-backup-ID Specify this option to set the end of the range of the transaction log backup files to be deleted or displayed. Use this option with the -s option to specify the start and end of this range. Specifying the -e option alone sets the range from the first log backup ID to the log backup ID specified with the -e option. Possible log backup ID values are 0001 through 9999. -lsn Specify this option to display the detailed information of the transaction log files in the log backup catalog.
NOTE: This command cannot be applied to the system databases (master, msdb, model, tempdb, and distribution). After a database has been restored, the log backup for different recovery paths are mixed and displayed. For the instance that is the target of this command, if the drmsqlbackup command of Application Agent 6.3.0-00 or later has been executed for the instance, you can back up the transaction logs entries associated with a backup ID, regardless of whether the backup catalog exists.
PROMPT> drmsqllogbackup 0000000020 -v -s 0001 -e 0003 [userDB1] C:\LogBackup\userDB1_20021106010101_0001.bk C:\LogBackup\userDB1_20021106050101_0002.bk C:\LogBackup\userDB1_20021106090101_0003.bk [userDB2] C:\LogBackup\userDB2_20021106010101_0001.bk C:\LogBackup\userDB2_20021106050101_0002.bk C:\LogBackup\userDB2_20021106090101_0003.
PROMPT> drmsqllogbackup -no_cat -v # ORIGINAL-ID:BACKUP-ID:[UserDB3] C:\MSSQL\FLORA4\default\tlog\UserDB3_20040116163638_0001.bk C:\MSSQL\FLORA4\default\tlog\UserDB3_20040116163640_0002.bk # ORIGINAL-ID:BACKUP-ID:[UserDB2] C:\MSSQL\FLORA4\default\tlog\UserDB2_20040116163637_0001.bk C:\MSSQL\FLORA4\default\tlog\UserDB2_20040116163640_0002.bk # ORIGINAL-ID:BACKUP-ID:[UserDB1] C:\MSSQL\FLORA4\default\tlog\UserDB1_20040116163637_0001.bk C:\MSSQL\FLORA4\default\tlog\UserDB1_20040116163640_0002.
During command execution, from another computer such as an application server, you should not connect to the database that was restored. If another server connects to the database during command execution, the command might fail. Arguments instance-name Specify the database instance to be recovered. If the instance to be recovered is the default, specify DEFAULT. -target database-names Specify this option to recover specific databases.
When the -loading option is specified, because no temporary files are created as with the -undo option, you do not need to create the temporary file storage directory beforehand. If both the -undo option and -loading option are omitted, the database can be fully accessed after recovery, but any subsequent transaction logs are not applied.
Figure 1 drmsqlrecovertool dialog box INSTANCE Displays the instance name specified for the drmsqlrecovertool command. The command will recover this instance. To change the instance, close the drmsqlrecovertool dialog box, and then re-execute the drmsqlrecovertool command. Transaction log backup list Displays a list of transaction log backup files that apply to the database selected in Target database. Use the Add button to add a file to this list. Use the Delete button to delete a file.
Roll forward? Select whether or not to perform a roll-forward during recovery. If No is selected, the Transaction log backup list becomes inactive. Recovery takes place without a roll forward, even when transaction log backup files are displayed. Add button Choose this button to add a transaction log file to be applied. This button adds the selected file to the files selected in Transaction log backup list. The files are sorted by name (not including file extensions and paths) and added.
drmsqlrestore backup-ID -resync [ -force ][ -undo ][ -nochk_host ] [ -instance name-of-the-SQL-Server-instance ] [ -target database-name | -f target-definition-file-name ] [ -pf copy-parameter-definition-file ] To apply only the metafile to the primary volume: drmsqlrestore backup-ID -no_resync [ -undo ][ -nochk_host ] [ -instance name-of-the-SQL-Server-instance ] [ -target database-name | -f target-definition-file-name ] To restore backup data on the remote site by resynchronization: drmsqlrestore backup
2. 3. The command performs disk resynchronization to restore the backup data from a secondary volume to the primary volume. The command brings the disk resource online, and then brings the cluster resource, including databases, online. If ONLINE is set in CLU_MSCS_RESTORE in the Application Agent configuration definition file (init.conf), you can perform restoration of a user database while the cluster resources are online by specifying the -resync option.
Before a backup After a backup Primary volume Primary volume Command execution result Secondary volume MBR disk Command status Error (DRM-10337 message) Before resynchronizing#2 MBR disk GPT disk GPT disk Error (DRM-10337 message) Before resynchronizing#2 MBR disk Error (KAVX5171-E or KAVX5137-E message) GPT disk Normal termination GPT disk After resynchronizing#1 #1 The error message is displayed after resynchronizing. #2 The error message is displayed before resynchronizing.
appears, indicating that no parameters are set for the drmsqlinit command. Specify the UNDO file storage directory using the drmsqlinit command. When this option is omitted, a regular restoration is performed. In this case, the database will be placed in loading status after the restoration has finished, and will not be usable. -nochk_host Specify this option to restore the data to a host other than the one specified in the drmsqlbackup command.
-template Specify this option to perform restore operations by using a backup catalog that was created by executing the drmsqlbackup command with the -template option specified. The START-TIME and END-TIME of a template catalog specified with the -template option are the times at which creation of the template catalog started and finished. -pf copy-parameter-definition-file Specify this option when using the number of retries and the retry interval defined in the copy parameter definition file.
Examples • In this example, the command is used to restore, by disk resynchronization, the backup data identified by the backup ID 0000000001: PROMPT> drmsqlrestore 0000000001 -resync • In this example, the command, using the template catalog, is used to restore the backup data identified with backup ID 0000000002: PROMPT> drmsqlrestore 0000000002 -resync -nochk_host -template KAVX0001-I drmsqlrestore command will now start. KAVX1316-I Performing restore pre-processing...
[ -auto_mount [ mount-point-directory-name ]] ] [ -svol_check ] ] To perform a backup by using VSS (Exchange Server 2003, Exchange Server 2007): drmexgbackup -mode vss [ -target storage-group-name | -f target-definition-file-name ] [ -rc [ name-identifying-the-generation ]] [ -pf copy-parameter-definition-file ] [ -transact_log_del | -noverify | -noverify_log_del ] [ -event_check ] [ -comment backup-comment ] [ -vf VSS-definition-file-name ] [ -script user-script-file-name ] [ -s backup-server-name [ -auto
Exchange Server 2010 or Exchange Server 2013: The entire database or an Information Store can be backed up. Before you execute the drmexgbackup command, make sure that the database files and log files are stored in separate copy groups. Before this command is executed, the system cache of the secondary volume must be cleared. Mount or unmount the secondary volume on the backup server to clear the system cache.
• Mounting and unmounting the disk drive. After performing a backup with this option, use the drmexgverify command to verify the integrity of the backup data. -mode vss Specify this option to perform a backup by using VSS. To use this option, the Protection Manager service must be running on the backup server. NOTE: The online backup, when used together with the -mode online option, forcibly copies the target data from the primary volume to the secondary volume without unmounting the Information Store.
Use this option to specify the name identifying the generation of the copy group to be backed up. Execute the drmexgdisplay command with the -cf option, and specify the displayed GEN-NAME value. In a single volume, a hyphen (-) appears. In this case, you cannot specify the -rc option. Always specify this option when backing up from a primary volume to a secondary volume on the remote side. If this option is omitted, the secondary volume on the local side is backed up.
The Windows event log is searched before the copy pair is resynchronized. If an event indicating a corrupt database is detected, the command terminates in an error. Application Agent determines that a database is corrupt by the following event details: • • • • • Event category: Application Type: Error Source: ESE Event ID: No limitation Character string being included: -1018, -1019, or -1022 -comment backup-comment Specify this option to register a backup comment in the backup catalog.
-s backup-server-name Specify this option to connect to a remote backup server to perform a backup. Specify the host name or the IP address of the backup server by using a character string that is no more than 255 bytes. You can specify the IP address in IPv4 or IPv6 format. If you specify a backup server by using the -s option, the backup server names specified in the VSS definition file (vsscom.
-cascade Specify this option to perform a backup on both the local site and remote site concurrently when configuring a cascade. After the backup finishes, a backup catalog is registered on the local site and remote site respectively. The same copy group and MU# of the local site is also used on the remote server.
PROMPT> drmexgbackup KAVX0001-I The drmexgbackup command will now start. KAVX1600-I Backup processing will now start. KAVX0040-I The backup ID has been assigned as follows: backup-ID = 0000000001 KAVX1601-I Backup processing has finished. KAVX0002-I The drmexgbackup command will now end. • In this example, the command is used to perform a cold backup for the storage group STR1: PROMPT> drmexgbackup -target STR1 -mode cold KAVX0001-I The drmexgbackup command will now start.
• To perform a backup using VSS with a cascade configuration: PROMPT> drmexgbackup -mode vss -cascade KAVX0001-I The drmexgbackup command will now start. KAVX5412-I The values in the following section of the definition file for the cascade configuration will be used. Local site = LOCALSITE Remote site = REMOTESITE KAVX0256-I A connection to the Protection Manager service will now be established. Host name = BKSERV1 KAVX0256-I A connection to the Protection Manager service will now be established.
File size = 1000[MB] KAVX1611-I Verification has finished successfully. KAVX0040-I The backup ID has been assigned as follows: Backup ID = 0000000001 KAVX1601-I Backup processing has finished. KAVX0002-I The drmexgbackup command will now end.
Displayed item Meaning Object type: M: Mailbox store P: Public folder store T T: Transaction log file C: Checkpoint file A type of Exchange Server object and its name: MAILBOXSTORE: Mailbox store name PUBLICSTORE: Public folder store name OBJECT TRANSACT: Transaction log file name CHECKPOINT: Checkpoint file name When Exchange Server 2010 or Exchange Server 2013 is used and a transaction log file or checkpoint file is set for OBJECT, the Information Store name is displayed.
Displayed item Meaning DB-PATH#4 Name of the directory storing the backup catalog CATALOG-UPDATE-TIME#4 Time when the backup catalog was created #1 Data files (*.stm) are displayed only when Exchange Server 2003 is being used. #2 The display format of information about transaction log files (*.log) depends on the Exchange Server version. Exchange Server 2003: Information is displayed for each transaction log file.
Specifies that only information relating to the transaction log file that will be displayed. This option will display the following information: • • • • The name of the transaction log file File system information Logical volume structure information Physical disk information When you specify this option with the -target option or -f option, only information pertaining to the transaction log of the specified storage group or Information Store will be displayed when this option is specified.
-backup_id backup-ID Specify this option to display only the backup information of a specific backup ID. A backup ID uniquely identifies backup data and is registered in the backup catalog during backup processing. To check a backup ID, execute the drmexgcat command. -hostname host-name Specify this option to display only information pertaining a specific host. -comment backup-comment Specify this option to display only information on a specific backup comment.
P PUBLICSTORE VG01,dev01 - VG01,dev01 P PUBLICSTORE VG01,dev01 - VG01,dev01 T TRANSACT VG01,dev02 - VG01,dev02 T TRANSACT VG01,dev02 - VG01,dev02 T TRANSACT VG01,dev02 - VG01,dev02 T TRANSACT VG01,dev02 - VG01,dev02 C CHECKPOINT VG01,dev02 - VG01,dev02 PUBLIC1(STR1) D:\STR1\pub1.edb D: - Harddisk1 - - - - - PUBLIC1(STR1) D:\STR1\pub1.stm D: - Harddisk1 - - - - - - E:\STR1\E00.log E: - Harddisk2 - - - - - - E:\STR1\E000001.
\\?\Volume{2ef9993d-803e-11d7-96ae-0000e26ac10d}\ Harddisk1 CLI-A 0 1 0 10001 P 15044 - VG01,dev02 CLI-B 1 11 0 10011 S 15044 C CHECKPOINT E:\STR1\E00.
START-TIME: 2010/01/01 11:00:00 END-TIME: 2010/01/01 11:30:00 HOSTNAME: EXG_SRV1 T OBJECT INFORMATIONSTORE FILE FS DG DEVICE COPY-GROUP M MAILBOXSTORE Mail2 M:\mount\VG01\001\Mail2\mail.edb M:\mount\VG01\001 Harddisk3 VG01,VG01_001 - VG01,VG01_001 T TRANSACT Mail2 M:\mount\VG01\000\Mail2\E01*.log M:\mount\VG01\000 Harddisk2 VG01,VG01_000 - VG01,VG01_000 C CHECKPOINT Mail2 M:\mount\VG01\000\Mail2\E01.
The items displayed in 1 and 2 appear in the table below.
Displayed item Meaning A letter identifying the primary or secondary volume P: Primary volume P/S S: Secondary volume -: A volume that is not part of a pair. SERIAL# Serial number inside the RAID device Copy type COPY-FUNC Copy type: The name of the copy type varies depending on the DKC software product (storage system unit) and microcode version. -: Indicates the volume where a pair volume has not been configured. (Do not create a program that operates using this display.
The command executed with the -v option displays this information. A hyphen (-) is displayed for any item that cannot be displayed. If none of the items can be displayed, an error message is displayed. Each item is separated by a space. Arguments -target storage-group-names Specifies that information relating to a certain storage group that will be displayed. When specifying multiple storage groups to be displayed, use a comma to separate each group name.
specified. If either the -target or the -f option is omitted, information pertaining to all data files of all storage groups or Information Stores will be displayed. -v Specify this option to display management information for the dictionary map files. The following information is displayed: • Name of the directory storing the dictionary map files Displays the path that is set in DRM_DB_PATH in the Application Agent configuration definition file (init.conf).
will be updated. At this time, if the update of the dictionary map files fails, the contents of the core map file are deleted. Specify this option when disk information for snapshot is set up in the dictionary map files. -coremap Specify this option to update the core map file. This option is available only when it is specified together with storage-group-name or Information-Store-name. If the core map file does not exist, a new core map file is created.
VG01,dev02 - VG01,dev02 C CHECKPOINT VG01,dev02 - VG01,dev02 - - - - - - E:\STR1\E00.chk E: - Harddisk2 - - - - - • In this example, the command is used to output information, in long format, about the Information Store specified by the storage group STR1 (Exchange Server 2003 or Exchange Server 2007): PROMPT> drmexgdisplay -target STR1 -l STORAGEGROUP: STR1 T OBJECT INFORMATIONSTORE FILE FS LVM-DEVICE DEVICE MU# LDEV# P/S SERIAL# M MAILBOXSTORE MAILBOX1(STR1) D:\STR1\priv1.
PROMPT> drmexgdisplay –v VIRTUAL-SERVERNAME: DB-PATH: C:\Program Files\CVXPAE\DRM\db STORAGEGROUP: /EXCHANGE CORE-MAPFILE-UPDATE-TIME: 2010/01/01 10:00:00 APP.-MAPFILE-UPDATE-TIME: 2010/01/01 10:00:00 T OBJECT INFORMATIONSTORE FILE DG DEVICE COPY-GROUP M MAILBOXSTORE Mail1 M:\mount\VG01\001\Mail1\mail.edb Harddisk3 VG01,VG01_001 - VG01,VG01_001 T TRANSACT Mail1 M:\mount\VG01\000\Mail1\E00*.log Harddisk2 VG01,VG01_000 - VG01,VG01_000 C CHECKPOINT Mail1 M:\mount\VG01\000\Mail1\E00.
- VG01,VG01_000 drmexgrestore (Restores an Exchange database backup to the primary volume) Formats To restore backup data in units of storage groups: drmexgrestore backup-ID -resync [ -target storage-group-name | -f target-definition-file-name ] [ -force ] [ -recovery ] [ -pf copy-parameter-definition-file ] [ -vf VSS-definition-file-name ] To restore backup data obtained using VSS in units of Information Stores: drmexgrestore backup-ID -resync -recovery { -target storage-group-name\Information-Store-nam
The following explains the command processing for restoration in a non-cluster configuration. 1. If the restored database was mounted, the database will be unmounted automatically. If the unmount of the file system fails, an error message will be displayed, and restoration processing error occurs. 2. After the database is stopped properly, and the file system confirms that unmount was successful, the backup data will be restored from the secondary volume to the primary volume by disk resynchronization.
To specify multiple Information Store names, use a comma to separate each Information Store name. Use double quotation marks (") to enclose any Information Store names that contain at least one space character. If this option is omitted, all Information Stores on the server on which this command is executed will be restored.
within the storage group that is the restoration target have been specified, you can restore backup data even without specifying the -recovery option. If the -recovery option is not used to restore a backup obtained by cold backup, the -recovery option cannot be used for backups obtained after the restored cold backup. -pf copy-parameter-definition-file Specify this option when using the number of retries and the retry interval defined in the copy parameter definition file.
NOTE: The backup information in the backup catalog is managed based on using the copy group as a key. Depending on the backup method, you might not be able to perform restoration, even though the backup data exists on the secondary volume. For further information, see the notes on running Application Agent in the HP P9000 Replication Manager Software Application Agent CLI User Guide.
PROMPT> drmexgrestore 0000000003 -resync -recovery KAVX0001-I The drmexgrestore command will now start. KAVX1805-I The information store will now be dismounted. Storage group name = STR1 KAVX1700-I Restore processing will now start. KAVX1701-I Restore processing has finished. KAVX1806-I The information store will now be mounted. Storage group name = STR1 KAVX0002-I The drmexgrestore command will now end.
seed function enabled in a Exchange Server 2010 DAG configuration. It then performs a pointin-time recovery: PROMPT> drmexgrestore 0000000005 –resync –ef exchange.conf KAVX0001-I The drmexgrestore command will now start. KAVX1526-I The Exchange environment configuration file has been read. Exchange environment configuration file = exchange.conf KAVX0256-I A connection to the Protection Manager service will now be established.
KAVX1755-I The replication function of Exchange Server has resumed. Exchange Server name = DatabaseServer2 Information store name = Mail02 KAVX0002-I The drmexgrestore command will now end. drmexgverify (Verifies the consistency of an Exchange database) Format drmexgverify backup-ID Description The drmexgverify command verifies the integrity of the backup data on a secondary volume.
NOTE: For an online backup, this command only verifies the integrity of an Exchange database (*.edb files), and not of an Exchange streaming database (*.stm files). This means that even if this command successfully terminates the verification, the Exchange streaming database might have been corrupted. In this case, the backup data cannot be restored.
3 Support and other resources Numerous support options are available. Contacting HP HP technical support For worldwide technical support information, see the HP support website: http://www.hp.
Support and other resources
Index B basic command functionality concealing and revealing physical volume, 117 create and delete Application Agent database, 144 basic command path , 83 basic commands drmappcat, 105 drmcgctl, 108 drmclusinit, 110 drmdbexport, 114 drmdbimport, 115 drmdbsetup, 144 drmdevctl, 116 drmexgbackup, 187 drmexgcat, 197 drmexgdisplay, 204 drmexgrestore, 212 drmexgverify, 219 drmfsbackup, 86 drmfscat, 91 drmfsdisplay, 97 drmfsrestore, 101 drmhostinfo, 122 drmmediabackup, 126 drmmediarestore, 128 drmmount, 130 drmr
C check tool EX_DRM_EXG_DEF_CHECK, 70 EX_DRM_FS_DEF_CHECK, 20 EX_DRM_SQL_DEF_CHECK, 53 coding rules for creating transaction log target definition file, 84 common commands basic command specifications, 105 extended command specifications, 25 conceal and reveal physical volume , conventions for creating target definition file, 83 create and delete Application Agent database , 144 D data file (for SQL Server database), 49, 146 displaying information for Information Store, 204 displaying information for stora
extended commands EX_DRM_BACKUPID_SET, 25 EX_DRM_CACHE_PURGE, 36 EX_DRM_CG_DEF_CHECK, 26 EX_DRM_DB_EXPORT, 27 EX_DRM_DB_IMPORT, 28 EX_DRM_EXG_BACKUP, 63 EX_DRM_EXG_DEF_CHECK, 70 EX_DRM_EXG_RESTORE, 73 EX_DRM_EXG_VERIFY, 78 EX_DRM_FS_BACKUP, 15 EX_DRM_FS_DEF_CHECK, 20 EX_DRM_FS_RESTORE, 22 EX_DRM_FTP_GET, 29 EX_DRM_FTP_PUT, 31 EX_DRM_HOST_DEF_CHECK, 32 EX_DRM_MOUNT, 39 EX_DRM_RESYNC, 34 EX_DRM_SQL_BACKUP, 48 EX_DRM_SQL_DEF_CHECK, 53 EX_DRM_SQL_RESTORE, 56 EX_DRM_SQL_TLOG_BACKUP, 59 EX_DRM_SQLFILE_EXTRACT, 61