HP StorageWorks P9000 Replication Manager Software CLI Reference Guide Part number: TB584-96021 Second edition: April 2011
Legal and notice information © Copyright 2010-2011 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 .............................................................................. 79 List of basic commands .............................................................................................................. 79 Before reading the basic command descriptions ........................................................................... 81 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 ................................................................................... 108 32 Items displayed by the drmdevctl -sigview command .................................................. 115 33 Partition styles and corresponding disk signatures to be specified ................................ 116 34 Host information displayed by the drmhostinfo command ........................................... 119 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.
EX_DRM_FS_BACKUP (Backs up a file system) Formats To perform an online backup: EX_DRM_FS_BACKUP operation-ID [ -mode online ] [-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 a cold backup: EX_DRM_FS_BACKUP operation-ID -mode cold [ -comment backup-comment ] [ -rc [ name-identifying-the-generation ]]
Prerequisites The prerequisite for executing this extended command is as follows: • An operation definition file linked to the specified operation ID has been provided. 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. -mode online Specify this option to perform online backup.
• 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.
• If the value contains space characters, the entire value must be enclosed in double quotation marks ("). • The following reserved characters cannot be used in the value: \ / : * ? | < > " For details about creating user script files, see the HP StorageWorks P9000 Replication Manager Software CLI User Guide. If you specified LOCATION=REMOTE in the user script file, you must also specify the -s option. -s backup-server-name Specify this option to connect to a remote backup server to perform a backup.
Note Each piece of backup information in the backup catalog is managed by using a copy group as a key. Depending on the backup method, you might not be able to perform a restoration, even though the backup data exists on the secondary volume. For notes on using Application Agent, see the HP StorageWorks P9000 Replication Manager Software CLI User Guide.
Description This extended command checks the contents of an operation definition file, and if no problem is found, automatically creates a temporary directory that will be used by subsequent extended commands. The definition file-checking tool must be re-executed in the following cases: • The path to the directory where dictionary map files are stored was changed on the file server. • The directory path assigned to FTP_HOME_DIR was changed on the backup server.
The table below lists the directories that are automatically created by the checking tool.
Examples • In this example, the extended command is used to check the definition file C:\Program Files\ drm\SCRIPT\conf\_OP0001.dat for a file server: EX_DRM_FS_DEF_CHECK OP0001 -db • In this example, the extended command is used to check the definition file C:\Program Files\ drm\SCRIPT\conf\_OP0001.
on the file server or the database server. You can perform a forced resynchronization even though the LDEV and SERIAL numbers do not match the LDEV and SERIAL numbers when backup processing was performed. -target directory-name Specify this option to restore a file system that contains a specific directory. directory-name indicates a mount point directory name, drive letter, or volume mount point name. If multiple directory-name parameters are specified, a comma must be used to separate each parameter.
• 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. • Acquisition of information from the backup ID record file fails. • A command executed inside the extended command encounters an error. • The acquisition of the result of a command executed inside the extended command fails.
Arguments operation-ID A character string that uniquely identifies the operation to be performed. -backup_id backup-ID Specify the backup ID to be used when restoring the backed up file system or database to the primary volume. A backup ID uniquely identifies backup data, and is registered in the backup catalog during the backup operation.
Copy group names are case sensitive. Prerequisites The prerequisite for executing this extended command is as follows: • The extended command must be executed on the machine that contains the copy-group list file to be checked. Arguments -cg_file copy-group-list-file-name Use an absolute path to specify the copy-group list file to be checked.
• An operation definition file linked to the specified operation ID has been provided. • The backup ID to be referenced by this extended command has already been stored in the backup ID file by executing one of the following extended commands: • When backing up a file system, use the EX_DRM_FS_BACKUP or EX_DRM_TAPE_RESTORE command. • When backing up an SQL Server database, use the EX_DRM_SQL_BACKUP or EX_DRM_TAPE_RESTORE command.
Description This extended command executes the drmdbimport command to import the backup information corresponding to the specified operation ID. This extended command also generates a backup ID and records it in a backup ID file in the temporary directory for extended commands. The backup information to be imported by executing the drmdbimport command is obtained from the backup information file of the temporary directory for extended commands.
EX_DRM_FTP_GET (Acquires a backup information file from the backup server) Format EX_DRM_FTP_GET operation-ID -server FTP-server -user FTP-user -password FTP-password Description The EX_DRM_FTP_GET command transfers the backup information file corresponding to the operation ID specified in the arguments from the temporary directory for extended commands on the FTP server to the temporary directory for extended commands on the FTP client.
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. • Information cannot be acquired from the operation definition file corresponding to the operation ID. • A connection to the FTP server or file transmission fails. • A command executed inside the extended command encounters an error. • The backup information file to be transferred by this extended command does not exist.
Arguments Specify the arguments of this extended command in the following order: operation-ID, -server FTP-server, -user FTP-user, and -password FTP-password. operation-ID A character string that uniquely identifies the operation to be performed. Information in the operation definition file linked to the specified operation ID is used when executing an extended command. -server FTP-server For FTP-server, specify the host name or the IP address of the FTP server to which you want to transmit the files.
EX_DRM_HOST_DEF_CHECK (Checks the contents of a host environment settings file) Formats To check the contents of a host environment settings file on the file server or the database server: EX_DRM_HOST_DEF_CHECK -db -f environment-settings-file-name To check the contents of a host environment settings file on the backup server: EX_DRM_HOST_DEF_CHECK -bk -f environment-settings-file-name Description This extended command is used to check the contents of a host environment settings file.
Specify this option to check the contents of a host environment settings file on the file server or the database server. -bk Specify this option to check the contents of a host environment settings file on the backup server. -f environment-settings-file-name For environment-settings-file-name, specify the absolute path of the host environment settings file you want to check.
Description The EX_DRM_RESYNC command executes the drmresync command and resynchronizes copy groups. Executing this extended command before you back up a file system or the database to the secondary volume increases the speed of backup processing. When usual operation is in the pair status, the specified copy group is resynchronized based on the backup ID created when data is backed up from the primary volume to the secondary volume.
-pf copy-parameter-definition-file Specify this option to use the number of retries and the retry interval defined in the copy parameter definition file. Specify the copy-parameter-definition-file parameter as a file name only; do not specify the parameter as a path. If you omit this option, the value in the RAID Manager-linkage definition file (DEFAULT.dat) is used. The values in DEFAULT.dat are used for any parameters that are not included in the copy parameter definition file.
EX_DRM_RESYNC operation01 Extended command specifications (Tape-related commands) EX_DRM_CACHE_PURGE (Clears the cache of the secondary volume) Formats To clear the cache of the secondary volume when usual operation is in the pair status: EX_DRM_CACHE_PURGE operation-ID 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
that copy group. When the copy group to be used for the next backup cannot be identified, specify all copy groups. -cg_file copy-group-list-file When usual operation is in the split state, use an absolute path to specify the copy-group list file that records the copy group for which you want to clear the cache of the secondary volume. Use this option if you want to clear the caches for many copy groups at the same time.
EX_DRM_CACHE_PURGE operation01 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.
Arguments operation-ID A character string that uniquely identifies the operation to be performed. -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.
This option must be specified with the operation ID. The created copy group mount definition file name is shown below: Application-Agent-installation-directory\DRM\conf\vm\CG_MP.
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. -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.
Specify this option to forcibly mount the secondary volume. If you specify this option and the copy group name of the primary volume obtained during backup processing on the file server (or the database server) matches the file server (or the database server) information, the extended command forcibly mounts the secondary volume, even if the LDEV or SERIAL numbers do not match.
EX_DRM_TAPE_BACKUP operation01 -exopt -raw • 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-na
• An operation definition file linked to the specified operation ID has been provided. • Tape backup management software is used with Application Agent. • 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.
If a path does not end with a backslash (\), the command assumes a backslash at the end of the path. For example, D: and D:\ are assumed to be the same drive. D:\MOUNTDIR and D:\MOUNTDIR\ are assumed to be the same directory. 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.
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 Metafile#2 Varies depending on the VDI metafile storage directory specified with the -drmsqlinit command#3 Secondary volume #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.
• 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 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.
notes on running Application Agent in the HP StorageWorks P9000 Replication Manager Software CLI User Guide. • 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. In this case, the cluster resource that manages the instance to be restored cannot be taken offline.
Arguments operation-ID A character string that uniquely identifies the operation to be performed. Information in the operation definition file linked to the specified operation ID is used when executing an extended command.
Example • In this example, the command backs up the transaction log for the resource, based on the settings in the operation definition file operation01: EX_DRM_SQL_TLOG_BACKUP operation01 EX_DRM_SQLFILE_EXTRACT (Deploys SQL Server metafiles to the folder to be backed up to a tape device) Format EX_DRM_SQLFILE_EXTRACT operation-ID Description This extended command deploys the SQL Server metafiles from the temporary directory for extended commands to the directory indicated below.
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. • The copy destination folder for the target file does not exist. • 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.
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. The copy destination folder for the target file does not exist. A command executed inside the extended command encounters an error.
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-definition-file ] [ -script user-script-file-name ] [ -s backup-server-name [ -auto_import [ -auto_mount [ mount-point-directory-name ]] ] [ -svol_check ] ] To perform a backup by using VSS: EX_DRM_EXG_BACKUP operation-ID -mode vss [ -transact_log_del | -noverify | -noverify_log_del ] [ -hostname virtual-server-name ] [ -e
Option The target file type is fixed Database backed up Exchange Server Information Store Files backed up Transaction log files *.log Checkpoint files *.chk Data files *.edb Transaction log files *.log Checkpoint files *.chk Prerequisites The prerequisite for executing this extended command is as follows: • An operation definition file linked to the specified operation ID has been provided. Arguments operation-ID A character string that uniquely identifies the operation to be performed.
-noverify_log_del Specify this option to skip consistency verification for a database that was backed up by using VSS, and then delete the transaction log file. -c { offline | online } Specify either of these options for a cluster environment. Specify -c offline to take a physical disk cluster resource offline, and then back it up. Specify -c online to back up a physical disk cluster resource while it is still online. The default -c option is -c offline.
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 specified, and then specify a value for the displayed GEN-NAME. For single volumes, a hyphen (-) appears. In this case, the -rc option cannot be specified. Always specify this option when backing up from a primary volume to a secondary volume on the remote side. If you omit this option, the secondary volume on the local side is backed up.
-s backup-server-name Specify this option to connect to a remote backup server to perform a backup. Specify the backup-server-name parameter by using the host name or the IP address of the backup server. Specify the host name by using a character string that is 255 bytes or less. 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.
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 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.
Description This extended command checks the contents of an operation definition file, and if no problem is found, automatically creates a temporary directory that will be used by subsequent extended commands. The definition file-checking tool must be re-executed in the following cases: • The path to the directory where dictionary map files are stored is changed on the database server. • The directory path assigned to FTP_HOME_DIR is changed on the backup server.
The table below lists the directories that are automatically created by the checking tool.
• An irregularity is detected in the contents of the operation definition file. • The command fails to create a temporary directory. • The command fails to obtain the name of the directory where dictionary map files are stored. Examples • In this example, the extended command is used to check the contents of the operation definition file C:\Program Files\drm\SCRIPT\conf\_OP0001.
[ [ [ [ -force ] [ -recovery ] -pf copy-parameter-definition-file ] -vf VSS-definition-file-name ] -ef Exchange-environment-setting-file ] To restore an Information Store (Exchange Server 2010): EX_DRM_EXG_RESTORE.
Specify this option to restore the database in a particular Information Store. 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 you omit this option, all Information Stores on the server on which this command is executed will be restored.
Information Store using the -target option or -f option without specifying the -recovery option, the command terminates in an error. However, if all Information Stores within a storage group have been specified, you can restore backup data without specifying the -recovery option. If you restore cold backup data without specifying the -recovery option, you cannot use the -recovery option to restore subsequent backups.
• 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. • If you specify an Information Store of data other than backup data obtained by using VSS, an error will occur.
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 command, and the drmumount command to verify the consistency of an Exchange database that was backed up onto the secondary volume.
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 mount point directory name must satisfy the following: • Maximum number of characters: Path lengths to be specified must comply with the specifications of the mount and unmount functions provided by RAID Manager. • Available characters: Characters that can be used in a directory name in Windows (excluding space characters).
Example • In this example, the extended command is used to verify the consistency of the Exchange database specified by the operation ID operation01: EX_DRM_EXG_VERIFY operation01 78 Extended commands
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 StorageWorks P9000 Replication Manager Software 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.
[ [ [ [ -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 perform a cold backup: drmfsbackup { mount-point-directory-name | mount-point-directory-target-definition-file-name } -mode cold [ -rc [ name-identifying-the-generation ]] [ -pf copy-parameter-definition-file ] [ -comment backup-comment] [ -script user-scri
Arguments mount-point-directory-name Specify the mount point directory for the file system you want to back up. You must specify the drive letter for a mounted file system or the absolute path beginning with the drive letter. You must specify the drive letter for a mounted file system or the absolute path from the drive letter. Specify the drive letter of the name of the mount point directory to which the secondary volume is to be mounted, or specify the absolute path from the drive letter.
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. 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.
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. For VSS-definition-file-name, specify a file name only. Do not specify the folder name. The VSS definition file specified in this option must be stored in the following folder: Application-Agent-installation-directory\DRM\conf\vss If you omit this option, the command uses the following file as the VSS definition file: Application-Agent-installation-directory\DRM\conf\vsscom.
backup or restoration failures. The items, volumes, and conditions to be checked are described in the following table.
• 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... KAVX5108-I Resynchronizing a copy group. Copy group name = EVS1,EVS1_000 KAVX0256-I Connecting to the Protection Manager Service is performed.
Displayed item Description Object type T (F, which means file, is always displayed.
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. Arguments mount-point-directory-name Specify the drive letter of the file system for which you want to display backup information, or use an absolute path beginning with the drive letter. Do not specify a backslash (\) at the end of the path.
Specify the mount point directory name of the target definition file by following the following rules: • Use an absolute path. • Do not specify a backslash (\) at the end of the path. If you specify neither this option nor the -target option, the command displays information for the entire file system specified by mount-point-directory-name.
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 using double quotation marks is not necessary for target paths specified in batch definition files.
F F - D: - - Harddisk1 - VG01,dev01 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\CVXPAE\DRM\db2 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 CATALOG-UPDATE-TIME: 2002/06/01 10:02:00 T FI
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. Displays the resource information for the file system on the server where the command is executed.
Displayed item Description 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 depending on the DKC software product (storage system unit) and microcode version. -: Indicates a volume where a pair volume has not been configured.
commas to separate each file name or directory name that you specify. You cannot specify a backslash (\) at the end of the paths. -f target-definition-file-name Specify this option to display information about specific files or directories. Create a target definition file in advance that contains a list of the absolute paths of the files or directories for which you want to display information.
Note that enclosing with double quotation marks is not necessary for target paths specified in batch definition files.
• In this example, the command is used to display information about the file system on the D drive and management information for the dictionary map files (when no dictionary map files exist): PROMPT> drmfsdisplay D: -v VIRTUAL-SERVERNAME: host1 DB-PATH: D:\Program Files\CVXPAE\DRM\db2 KAVX0039-E The core map file(s) cannot be found.
3. The command brings the disk resource online. If ONLINE is set for the CLU_MSCS_RESTORE environment variable in the Application Agent configuration definition file (init.conf), restoration can be performed while the cluster resources are online when you restore a volume within a cluster group in an MSCS environment. Restoration overwrites the entire primary volume with the entire secondary volume that contains a backup of the primary volume.
Arguments backup-ID Specify the backup ID of the backup data you want to use for restoration. A backup ID uniquely identifies backup data. A backup ID is assigned to each backup and stored in the backup catalog. To check backup IDs, execute the drmfscat command. -resync Specify this option to restore the data from the secondary volume to the primary volume by resynchronizing the volumes. The contents of the primary volume become the same as the backup data on the secondary volume.
paths with double quotation marks (") when the target file name or directory name is specified in the target definition file. If you omit both this option and the -target option, the entire file system registered in the backup catalog will be restored. -pf copy-parameter-definition-file Specify this option to use the number of retries and the retry interval defined in the copy parameter definition file. Specify only the file name, without specifying the path.
Basic command specifications (Common commands) drmappcat (Views catalog information on a host) Formats To display backup information for a particular backup ID: drmappcat backup-ID [ -l ][ -hostname host-name ][ -v ] [ -comment backup-comment ][ -template ] To display backup information: drmappcat [ backup-ID ][ -l ][ -hostname host-name ][ -v ] [ -comment backup-comment ][ -template ] To delete backup information: drmappcat backup-ID -delete Description The drmappcat command allows to you display backup
Displayed item Description DB-PATH Name of the directory storing the backup catalog #1 When the -comment option is specified, this information is displayed. #2 When the -l option is specified, these items are displayed. #3 A hyphen (-) is displayed for Exchange Server. Arguments backup-ID Specify this to display or delete backup information for a particular backup ID. A backup ID uniquely identifies backup data, and is registered in the backup catalog during backup.
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. -template Specify this option to display template catalog information. The times at which the creation of a template catalog starts and ends are displayed in START-TIME and END-TIME, respectively.
PROMPT> drmappcat -l -template BACKUP-ID ORIGINAL-ID BACKUP-MODE HOSTNAME BACKUP-OBJECT INSTANCE START-TIME END-TIME 0000000252 ONLINE stdg7 MSSQL DEFAULT 2003/10/03 18:55:15 2003/10/03 18:59:37 PROMPT> • In this example, the command is used to delete the backup catalog of the backup ID 0000000162: PROMPT> drmappcat 0000000162 -delete KAVX0424-I The backup information corresponding to the specified backup ID has been deleted.
Specify whether to lock or unlock the copy group. To lock the copy group, specify lock. To unlock the copy group, specify unlock. -backup_id backup-ID Specify the backup ID associated with the copy groups you want to lock or unlock. By specifying a backup ID, you can lock or unlock all the copy groups used for the backup identified by the specified ID at the same time. Specify the backup ID created when the backup was performed from the primary volume to the secondary volume.
drmclusinit (Registers the parameters for the cluster software) Formats To register the parameters for the cluster software: drmclusinit cluster-software-name To view the parameters registered for the cluster software: drmclusinit -v cluster-software-name Description For a cluster configuration, the drmclusinit command uses an interactive format to register the parameters necessary to control the cluster software.
A resource whose resource type is MountV #2 A resource whose resource type is VMDg Arguments -v Specify this to display the registered parameters. cluster-software-name Specify the keyword that identifies the cluster software being used. If the cluster product you are using is either Veritas Cluster Server for Windows, the keyword is VCS.
• The virtual server name during backup or restoration does not match the virtual server name specified in the DRM_HOSTNAME environment variable during the execution of a backup or restore operation. • The registered virtual server name and the registered resource group name do not correspond. • The instance name was registered incorrectly. • Some cluster resources have not been registered. • The mount point or disk group name for the resource name was registered incorrectly.
KAVX0310-I Enter the resource group name: KAVX0313-I Enter the Virtual host name: KAVX0312-I Cluster information was updated. PROMPT> • In this example, the command is used to register, for a disk configuration that uses Veritas Volume Manager for Windows, the parameters for controlling the cluster software (for a file system). This example is based on the following configuration: Virtual server name: VHOST1 Service group name: ServiceGroup-FS Disk configuration: See the following table.
drmdbexport (Exports backup information to a file) Format drmdbexport backup-ID -f export-destination-file-name Description The drmdbexport command exports backup information from a backup catalog to a file. You can use the drmdbimport command to import data into a backup catalog on another server from a file that contains the exported backup information. Arguments backup-ID Specify the backup ID of the backup catalog you want to export.
Description The drmdbimport command imports, into a backup catalog, backup information from a file that was exported by the drmdbexport command. Application Agent manages backup information based on copy groups, which are used as a key. If the backup information of the same copy group exists in the backup catalog when you attempt to import the backup information, the old backup information is overwritten.
drmdevctl -rescan To display the disk signatures of the local volumes of all copy groups: drmdevctl -sigview To display the disk signatures of the local volumes of copy groups registered in a specified backup catalog: drmdevctl backup-ID -sigview To display the disk signature of the local volume of a specified copy group: drmdevctl -copy_group copy-group-name -sigview To update the disk signature of the local volume to the value generated at the time of backup (targeting copy groups registered in a specif
-detach Conceals the physical volumes of the storage system from the server, and instructs the OS of the server to perform a disk rescan. -attach Reveals (publishes) physical volumes of the storage system that are concealed from the server, and instructs the OS of the server to perform a disk rescan. -noscan Specify this to stop the OS from being instructed to perform a disk rescan, after a volume is concealed or revealed.
Displayed item Description The partition style of the physical volume displayed on the DEVICE. (One of MBR, GPT, RAW, or ---) TYPE When UNKNOWN is displayed for DEVICE, --- is displayed. The current disk signature (in hexadecimal) of the physical volume displayed for DEVICE. CUR_DISKID When UNKNOWN is displayed for DEVICE, -------- is displayed. The disk signature recorded in the backup catalog (in hexadecimal).
• When a volume is concealed and the disk configuration is rescanned, an error message indicating that a device has been removed is recorded in the Windows event log. HP recommends that you delete the event log regularly. • If this command is executed for a dynamic disk copy group, with the -detach option specified, Missing disks and Failed volumes might be displayed to the Windows disk manager and Veritas Enterprise Administrator.
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> PROMPT> PROMPT> drmdevctl drmdevctl drmdevctl drmdevctl -copy_group G1,d1 -detach -noscan -copy_group G1,d2 -detach -noscan
VG01,dev01 VG01,dev02 Harddisk10 Harddisk11 MBR MBR ABCDEF01 ABCDEF02 ABCDEF00 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 that corresponds to the backup ID 0000000002, the command is used to update the di
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 • 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 StorageWorks P9000 Replication Manager Software 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 StorageWorks P9000 Replication Manager Software CLI User Guide.
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. Before executing the drmmediarestore command, confirm the following: • The backup management product has been linked. • The drmmount command has been executed and the secondary volume to be backed up has been mounted. • A definition file for the tape backup has been created.
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 StorageWorks P9000 Replication Manager Software CLI User Guide. Note The value of NBU_MASTER_SERVER in the configuration definition file must be the same as the value that was used during the backup.
for mounting a secondary volume in the HP StorageWorks P9000 Replication Manager Software CLI User Guide. When a backup ID is specified, the copy group corresponding to the specified backup ID is locked. Because copy groups locked by the drmmount are unlocked by the drmumount command, when you use the drmmount command to mount a secondary volume, be sure to use the drmumount command to unmount it. The secondary volume that is not formatted as a file system or that is in the mirror status cannot be mounted.
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 assumes a backslash at the end of the path. For example, D: and D:\ are assumed to be the same drive. D:\MOUNTDIR and D:\MOUNTDIR\ are assumed to be the same directory.
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.
confirm information about the objects corresponding to the backup ID, and hence confirm the backup ID to be used for restoration. The backup information for the backup from the primary volume to the secondary volume contains the information about the primary volume that stores objects that were backed up onto a tape device, and the information about the database files that were backed up.
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. If none of the items can be displayed, an error message is displayed. Each item is separated by a space. This information provides further details than the backup information for a backup from the secondary volume to tape.
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.
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. By using this option, you can delete backup information about a tape backup before the record's duration specified by the drmtapeinit command expires.
0000000002 MEDIA3 0000000003 MEDIA4 FILESYSTEM 2002/02/01 11:00:00 2002/05/01 11:00:00 FILESYSTEM 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 • In this example, the command is used to display detailed information for the backup
PROMPT> drmtapecat -o FILESYSTEM D: INSTANCE: D: BACKUP-ID:0000000010 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 information about the backup performed from the primary volume to the secondary volume (when the backup is of an SQL Server database): PROMPT> drmtapecat -o MSSQL SQL1 INSTANCE: SQL1 BAC
T TRANSACT VG01,dev02 - VG01,dev02 T TRANSACT VG01,dev02 - VG01,dev02 C CHECKPOINT VG01,dev02 - VG01,dev02 - 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 Name of the backup management product When using NetBackup, specify NBU. Specify NBU or BEWS. When using Backup Exec, specify BEWS. Specify the number of days to store backup information.
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: BEWS Days to keep the backup
• 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. Arguments -copy_group copy-group-name Specify the name of the copy group to be unmounted (a copy group mounted by using the drmmount command). The system cache must be cleared before a data backup.
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. When you back up a system database, execute the command with the -system option. The system cache of the secondary volume must be cleared before executing this command. Mount or unmount the secondary volume on the backup server to clear the system cache.
Database of interest#1 User database Distribution database File type of interest Backup file name Storage destination for backup files 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 file Same as the backup source file name Secondary volume Transaction log file Same as the backup source file
-f target-definition-file-name Like the -target option, this option performs a backup related to specific databases only. Unlike the -target option, this option lets you specify a target definition file that collectively specifies all the databases for which a backup is to be performed. The target definition file containing the list of databases must be created before you attempt to use this option. Use an absolute path to specify the target definition file.
• Maximum number of bytes: 255 • Available characters: Characters that can be used in a file name in Windows. If the name contains one or more space characters, the entire name string must be enclosed in double quotation marks ("). For details about the coding used for a user script file, see the description of how to create a user script in the HP StorageWorks P9000 Replication Manager Software CLI User Guide. If you specified LOCATION=REMOTE in the user script file, you must also specify the -s option.
Even if you create a template catalog with the -template option specified, the old metafile will be deleted. For example, in a two-generation environment, suppose that the following commands are executed: 1. Execute drmsqlbackup default. 2. Execute drmsqlbackup default 3. Execute drmsqlbackup default -template In this case, after performing step 3, the metafile and catalog acquired by performing step 1 are deleted. This backup catalog can only be used for restoring data backed up remotely.
PROMPT>drmsqlbackup default -comment comment KAVX0001-I drmsqlbackup command will now start. KAVX1017-I SQL Server information will now be retrieved. KAVX1207-I The database is being backed up. KAVX0040-I The backup ID has been assigned as follows: Backup ID = 0000000021 KAVX0002-I drmsqlbackup command will now end. • In this example, the command is used to create the template of the backup catalog: PROMPT> drmsqlbackup default -template KAVX0001-I drmsqlbackup command will now start.
PROMPT> drmsqlbackup default -script C:\Uscript.txt KAVX0001-I The drmsqlbackup command will now start. KAVX1017-I SQL Server information is being collected now. KAVX1207-I Backing up the database... KAVX0210-I The user script will now start. Procedure section = RESYNC_PROC KAVX0212-I A command from the user script will now execute. Command line = C:\HORCM\etc\pairresync.exe -g TC01 -d sql01 -FBC 0 KAVX0213-I A command from the user script has ended.
Displayed item Meaning BACKUP-COMMENT Backup comment BACKUP-ID Backup ID BACKUP-MODE Backup mode (ONLINE) ORIGINAL-ID Original backup ID obtained by the drmsqlbackup command INSTANCE SQL Server instance name START-TIME Snapshot backup start time END-TIME Snapshot backup end time HOSTNAME Server name where the snapshot backup was performed Object type: D: Data file T T: Transaction log M: Metafile DB SQL Server database name SQL Server object name: OBJECT DATAFILE: Data file name TRANS
Displayed item Meaning TID# Target-ID on the host server LUN# Logical unit number on host server MU# Pair ID LDEV# Logical device number inside the RAID device A letter identifying the primary or secondary volume: P/S P: Primary volume S: Secondary volume -: Others SERIAL# Serial number inside the RAID device VIRTUAL-SERVERNAME#3 Virtual server name (value of the DRM_HOSTNAME environment variable) DB-PATH#3 Name of the directory storing the backup catalog CATALOG-UPDATE-TIME#3 Time when t
• Physical disk information To display the information for multiple storage groups, 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 ("). When both this option and the -f option are omitted, all database information about the instance specified by the instance name will be displayed. -f target-definition-file-name Specifies the backup information to be referenced for a specific database.
• Physical disk information • Logical volume structure information -l Specifies that information will be displayed in the long format. -v Specify this option to display information about the backup catalog. The following information is displayed: • Name of the directory storing the backup catalog Displays the path that is set in DRM_DB_PATH in the Application Agent configuration definition file (init.conf).
Specify this option if you want to display the log sequence number CHECKPOINT-LSN of the log record that is used as the starting point of a recovery when restoring a backup file of the data file indicated by the DATAFILE of OBJECT and the full backup time FULL-BACKUP-TIME. 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 (").
D DB1 DATAFILE D:\SQL\data2.mdf D: NTFS \\?\Volume{df67a5b0-5583-11d5-a410-806d6172696f}\ Harddisk2 VG12,dev02 CLI-A 2 20 0 10020 P - - - 15044 VG12,dev02 CLI-A 2 21 0 10021 S T DB1 TRANSACT D:\SQL\tlog2.
M DB2 METAFILE C:\METADIR\Meta2 C: NTFS \\?\Volume{df66a5b0-5583-12d5-a410-806d6172696f}\ Harddisk1 VG11,dev01 CLI-A 2 10 0 10010 P D DB1 DATAFILE D:\SQL\data2.mdf D: NTFS \\?\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 T DB1 TRANSACT D:\SQL\tlog2.
T UserDB1 TRANSACT O: Harddisk3 - - O:\UserDB1_Log.LDF STD03,sqlstd022 STD03,sqlstd022 • In this example, the command is used to display the template catalog: PROMPT>drmsqlcat default -template INSTANCE: default BACKUP-ID: 0000000001 BACKUP-MODE: ONLINE INSTANCE: default ORIGINAL-ID: 0000000002 START-TIME: 04.02.04 13:01:35 END-TIME: 04.02.04 13:02:33 HOSTNAME: flora4 T DB OBJECT FILE FS DG DEVICE COPY-GROUP M UserDB1 METAFILE O:\MSSQL\0000000002_0000000001.dmp D UserDB1 DATAFILE O:\UserDB1_Data.
drmsqldisplay [ [ [ [ instance-name ] -target database-name | -f target-definition-file-name ] -transact_log ][ -datafile ] -v ][ -remote ] To update the information in the dictionary map files: drmsqldisplay [instance-name ] -refresh [ -coremap ] Description The drmsqldisplay command does the following: 1. 2. 3. Displays the resource information of the SQL Server database on the server on which the command was executed.
Displayed item L-COPY-GROUP R-COPY-GROUP Meaning The copy group name of the local site, displayed as follows: RAID-Manager-volume-group-name,device-name The copy group name of the remote site and the pair identifier (MU#) of the SVOL at the remote destination, displayed as follows: RAID-Manager-volume-group-name,device-name-with-remotedestination-SVOL-pair-identifier-(MU#) PORT# The port name on the host server TID# The target ID on the host server LUN# The logical unit number on the host server MU
A hyphen (-) will be displayed in columns that contain items that cannot be displayed. An error message will be displayed when none of the items can be displayed. Each item is separated by space. Arguments instance-name Specify the name of the SQL Server database instance for which information is to be updated or displayed. If the instance to be backed up is the default, specify DEFAULT. If the instance name is omitted, use the drmsqlinit command to display information for all registered instances.
• • • • • • The name of the SQL Server database The transaction log Data file information File system information Physical disk information Logical volume structure information When you specify this option with instance-name, only information about the device files of the specified instance will be displayed. When instance-name is omitted, information about the device files of all of the instances will be displayed.
• 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 instance-name. If the core map file does not exist, a new core map file is created. At this time, if the update of the dictionary map files fails, the contents of the core map file are deleted.
PROMPT> drmsqldisplay SQL1 -l INSTANCE: SQL1 T DB OBJECT FILE FS FSTYPE DG LVM-DEVICE DEVICE COPY-GROUP PORT# TID# LUN# MU# LDEV# P/S SERIAL# D DB1 DATAFILE D:\SQL\data1.
\\?\Volume{df67a5b0-5583-11d5-a410-806d6172696f}\ Harddisk1 VG02,dev01 CLI-A 2 11 0 10001 P - - - 15044 VG02,dev01 CLI-A 2 21 0 10021 S T DB2 TRANSACT E:\SQL\tlog2.
drmsqlinit (Registers parameters for SQL Server) Formats To register parameters for SQL Server: drmsqlinit instance-name To display the parameters registered for SQL Server: drmsqlinit -v instance-name 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.
same message will be displayed if Standby is specified for Recovery Mode, in the drmsqlrecovertool dialog box. If this error message is displayed, use the drmsqlinit command to set the UNDO file storage directory. Note that you cannot specify the directory containing the SQL Server database configuration definition file (instance-name.dat, in which parameters are registered) for the UNDO file storage directory.
Return Values 0: Normal termination Any value other than 0: Termination with an error Examples • In this example, the command is used to set up the instance SQL1: PROMPT> drmsqlinit SQL1 KAVX1100-I Enter the name of the storage directory for VDI metafiles: D:\MSSQL\Meta KAVX1101-I Enter the timeout interval for VDI generation (in seconds, between 0 and 3600): 10 KAVX1102-I Enter the name of the storage directory for undo files: D:\MSSQL\Undo KAVX1107-I Enter the name of the storage directory for the backup
drmsqllogbackup backup-ID -v [ -target database-name | -f target-definition-file-name ] [-s log-backup-ID ][-e log-backup-ID ] To delete transaction log backups when the backup catalog exists: drmsqllogbackup backup-ID -d [ -s log-backup-ID ] [ -e log-backup-ID ] To delete transaction log backups when the backup catalog does not exist: 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: drmsqllo
• In this example, the command views information on the backups of the transaction log backup files with the original ID 0000000001: PROMPT> drmsqllogbackup O:0000000001 -v • In this example, the command deletes information on the backups of the transaction log backup files with the original ID 0000000001: PROMPT> drmsqllogbackup O:0000000001 -d -v Specify this option to display a list of the transaction log files that were backed up.
-d Specify this option to delete the backups of the acquired transaction log files. -s log-backup-ID Specify this option to set the start of the range of the transaction log backup files to be deleted or displayed. Use this option together with the -e option to specify the start and end of this range. Specifying the -s option alone sets the range from the backup ID that was specified with the -s option to the last log backup ID. Possible log backup ID values are 0001 through 9999.
1. For the record to which a hyphen is displayed for BACKUP-ID, check the value of LAST-FULL-BACKUP-TIME. 2. Execute drmsqlcat -lsn. 3. From the execution result of drmsqlcat -lsn, find a record whose value for FULL-BACKUP-TIME is the same as the value for LAST-FULL-BACKUP-TIME found in step 1. 4. Check the backup ID for the record found in step 3. Notes • This command cannot be applied to the system databases (master, msdb, model, tempdb, and distribution).
Examples • In this example, the command is used to back up the transaction log file of the instance DEFAULT: PROMPT> drmsqllogbackup DEFAULT • In this example, the command is used to display information on the backups of the transaction log backup files with backup ID 0000000020 and with a log backup ID from 0001 to 0003: PROMPT> drmsqllogbackup 0000000020 -v -s 0001 -e 0003 [userDB1] C:\LogBackup\userDB1_20021106010101_0001.bk C:\LogBackup\userDB1_20021106050101_0002.
0000000002 0000000002 userDB1,userDB2 --> Displays comma-separated information. 0000000003 0000000003 userDB2 PROMPT> • In this example, the command is used to display the backup information of the transaction log obtained with the -no_cat option: 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.
Description The drmsqlrecover command recovers a database restored by the drmsqlrestore command. This command applies transaction logs that are specified in a target definition file for transaction logs or acquired during backup, and performs roll-forward recovery processing. 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.
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. -loading Specify this to place the database in the loading status after recovery. In this status, transaction logs can continue to be applied. 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.
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.
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. Specify only the file name, without specifying the path. When you omit this option, the value of the RAID Manager-linkage definition file (DEFAULT.dat) is used.
PROMPT> drmsqlrestore 0000000002 -resync -nochk_host -template KAVX0001-I drmsqlrestore command will now start. KAVX1316-I Performing restore pre-processing... KAVX1000-I Logged on to the SQL Server system. KAVX1300-I Restore processing will now start. KAVX1000-I Logged on to the SQL Server system. KAVX1301-I Restore processing has finished. KAVX1318-I Performing restore post-processing... KAVX1001-I Logged off from the SQL Server system. KAVX0002-I drmsqlrestore command will now end.
[ [ [ [ -event_check ] [ -comment backup-comment ] -vf VSS-definition-file-name ] -script user-script-file-name ] -s backup-server-name [ -auto_import [ -auto_mount [ mount-point-directory-name ]] ] [ -svol_check ] ] To perform a backup by using VSS (Exchange Server 2010): drmexgbackup -mode vss [ -target Information-Store-name | -f target-definition-file-name ] [ -rc [ name-identifying-the-generation ]] [ -pf copy-parameter-definition-file ] [ -transact_log_del | -noverify | -noverify_log_del ] [ -eve
map files are created using the drmexgbackup command. In this case, the processing time required to create the dictionary map files are added to the time required to execute the backup command. Backup can only be performed for files described in the following table. Table 45 Files backed up as targets of an Exchange Server Option Database to be backed up File to be backed up *.edb *.stm# The target file type is fixed The target file type is fixed Data files # Transaction log file *.
-target storage-group-names Specify this option to back up the database resources containing the specific storage group. However, the minimum unit for backup is a physical volume. If a single physical volume contains multiple storage groups, specify all of the storage groups. If you specify only some of the storage groups, a command error occurs. When specifying multiple storage groups to be backed up, use a comma to separate each storage group name.
You cannot specify this option with the -cascade option. -transact_log_del Specify this option to delete the committed transaction log files. When this command is executed, the transaction log file is deleted. This means that you will no longer be able to use the -recovery option to perform restoration from backups already performed. This option is not valid when wraparound logs are being used. For more information about wraparound logs, see the Exchange Server manual.
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. -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 backups.
Specify this option to automatically mount a secondary volume on a backup server after backing up a volume. This option must be specified concurrently with other options by using the combinations in either 1 or 2 below. 1. The -s and -auto_import options 2. The -cascade and -auto_import options Specify mount-point-directory-name by using a character string of up to 64 bytes. If you omit the mount-point-directory-name parameter, a mount destination for a secondary volume is automatically determined.
If you specify the -f option concurrently with this option, the target definition file specified in the -f option needs to exist on both the local site and remote site. When this option is specified, the backup server defined in the cascade configuration information file is used. The following backup servers are ignored: • A backup server defined in the default VSS definition file (vsscom.
• In this example, the command is used to perform a cold backup for the storage groups specified in the target definition file C:\temp\BACKUP_DB.txt: PROMPT> drmexgbackup -mode cold -f C:\temp\BACKUP_DB.txt KAVX0001-I The drmexgbackup command will now start. KAVX1805-I The information store will now be dismounted. Storage group name = STR1 KAVX1805-I The information store will now be dismounted. Storage group name = STR2 KAVX1805-I The information store will now be dismounted.
KAVX5108-I Resynchronizing a copy group. Copy group name = SI01,dev02 KAVX0257-I The connection with the Protection Manager service will now be terminated. Host name = BKSERV2 KAVX5404-I Processing to resynchronize a copy group was performed by using DBSERV2. KAVX1610-I Verification of the database on the backup server will now be performed. Storage group name = 1st File size = 3 MB KAVX1611-I Verification has finished successfully. KAVX5405-I Backup post-processing will now be performed by using DBSERV2.
drmexgcat [ [ [ [ [ -target Information-Store-name | -f target-definition-file-name] -transact_log ][ -datafile ] -device device-file-name][ -l ][ -v ] -backup_id backup-ID ][ -hostname host-name ] -comment backup-comment] Description The drmexgcat command displays the backup information of the Exchange database on the server where the command is executed.
Displayed item Meaning 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 device file (for an environment with a logical volume manager) or GUID (for an environment without a logical volume manager) DEVICE#3 Harddiskn (where n is an integer) COPY-GROUP The copy group name, displayed as follows: RAID-Manager-volume-group-name,paired-volume-name PORT# Port name on the host server TID#
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 certain storage groups that will be displayed. When specifying multiple storage groups to be displayed, use a comma to separate each group name.
Specifies that only information relating to the device file is to be displayed. This option will display the following information: • • • • The name of the storage group or the name of the Information Store File system information Physical disk information Logical volume information -l Specifies that information related to the storage group or Information Store is to be displayed in the long format. -v Specify this option to display management information for the backup catalog.
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.
START-TIME:2002/06/01 10:00:00 END-TIME: 2002/06/01 10:01:00 HOSTNAME:EXG_SRV1 T OBJECT INFORMATIONSTORE FILE FS FSTYPE DG LVM-DEVICE DEVICE COPY-GROUP PORT# TID# LUN# MU# LDEV# P/S SERIAL# M MAILBOXSTORE MAILBOX1(STR1) D:\STR1\priv1.edb D: NTFS \\?\Volume{2ef9993f-803e-11d7-96ae-0000e26ac10d}\ Harddisk1 VG01,dev01 CLI-A 0 0 0 10000 P 15044 - VG01,dev01 CLI-B 1 10 0 10010 S 15044 M MAILBOXSTORE MAILBOX1(STR1) D:\STR1\priv1.
M MAILBOXSTORE Harddisk3 - T TRANSACT Mail2 VG01,VG01_001 VG01,VG01_001 Mail2 Harddisk2 VG01,VG01_000 - VG01,VG01_000 C CHECKPOINT Mail2 Harddisk2 VG01,VG01_000 - VG01,VG01_000 P PUBLICSTORE Pub Harddisk5 - T TRANSACT VG01,VG01_003 VG01,VG01_003 Pub Harddisk4 VG01,VG01_002 - VG01,VG01_002 C CHECKPOINT Pub Harddisk4 - - VG01,VG01_002 VG01,VG01_002 M:\mount\VG01\001\Mail2\mail.edb M:\mount\VG01\001 - - M:\mount\VG01\000\Mail2\E01*.log M:\mount\VG01\000 - - M:\mount\VG01\000\Mail2\E01.
drmexgdisplay [ -target Information-Store-name | -f target-definition-file-name ] [ -transact_log ][ -datafile ][ -v ] [ -device device-file-name][ -l ][ -cf ] To update the dictionary map files to the latest status (Exchange Server 2003 or Exchange Server 2007): drmexgdisplay [ storage-group-name ] -refresh [ -coremap ] To update the dictionary map files to the latest status (Exchange Server 2010): drmexgdisplay [ Information-Store-name ] -refresh [ -coremap ] Description The drmexgdisplay command does
Displayed item Meaning FS Mount point directory name FSTYPE File system type (NTFS) DG A disk group name (when using a logical volume manager) or a hyphen (-) (when using a basic disk configuration) LVM-DEVICE A logical device file name (when using a logical volume manager) or a GUID (when logical volume manager has not been implemented) DEVICE#3 Harddiskn (where n is an integer) COPY-GROUP The copy group name, displayed as follows: RAID-Manager-volume-group-name,paired-volume-name PORT# Port
Displayed item Meaning CORE-MAPFILE-UPDATE-TIME#4 Update time for the core map file APP.-MAPFILE-UPDATE-TIME#4 Update time for the application map file #1 The following are how Exchange Server 2007 differs from Exchange Server 2003: • Data files (*.stm) do not exist and, therefore, are not displayed. • Information related to transaction log files (*.log) is not displayed for each file.
-transact_log Specifies that you want to display only information relating to the transaction logs. 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.
Specifies that information related to the storage group or Information Store will be displayed in the long format. -cf Specify this option to display local or remote copy types, or the name identifying the generation corresponding to the copy group name. The remote information is also displayed. storage-group-name Use this option with the -refresh option to specify the storage group for which the dictionary map files are to be updated.
PROMPT> drmexgdisplay -target STR1 -v STORAGEGROUP: STR1 T OBJECT INFORMATIONSTORE FILE COPY-GROUP M MAILBOXSTORE MAILBOX1(STR1) D:\STR1\priv1.edb VG01,dev01 - VG01,dev01 M MAILBOXSTORE MAILBOX1(STR1) D:\STR1\priv1.stm VG01,dev01 - VG01,dev01 P PUBLICSTORE PUBLIC1(STR1) D:\STR1\pub1.edb VG01,dev01 - VG01,dev01 P PUBLICSTORE PUBLIC1(STR1) D:\STR1\pub1.stm VG01,dev01 - VG01,dev01 T TRANSACT E:\STR1\E00.log VG01,dev02 - VG01,dev02 T TRANSACT E:\STR1\E000001.
\\?\Volume{2ef9993d-803e-11d7-96ae-0000e26ac10d}\ Harddisk1 0 10001 P 15044 - 0 10011 S 15044 T TRANSACT E:\STR1\E000001.log E: \\?\Volume{2ef9993d-803e-11d7-96ae-0000e26ac10d}\ Harddisk1 0 10001 P 15044 - 0 10011 S 15044 T TRANSACT E:\STR1\E000002.log E: \\?\Volume{2ef9993d-803e-11d7-96ae-0000e26ac10d}\ Harddisk1 0 10001 P 15044 - 0 10011 S 15044 T TRANSACT E:\STR1\E000003.log E: \\?\Volume{2ef9993d-803e-11d7-96ae-0000e26ac10d}\ Harddisk1 0 10001 P 15044 - 0 10011 S 15044 C CHECKPOINT E:\STR1\E00.
- - - - Harddisk6 - - - M:\mount\VG01\004 - - - M:\mount\VG01\005 - - VG01,VG01_004 - Harddisk7 VG01,VG01_005 - - - VG01,VG01_004 - - VG01,VG01_002 VG01,VG01_005 • In this example, the command is used to output information for the Information Store specified by the Information Store Mail2 (Exchange Server 2010): PROMPT> drmexgdisplay –target Mail2 STORAGEGROUP: /EXCHANGE T OBJECT INFORMATIONSTORE FILE DG DEVICE COPY-GROUP M MAILBOXSTORE Mail2 M:\mount\VG01\001\Mail2\mail.
drmexgrestore backup-ID -resync -recovery [ -target storage-group-name\Information-Store-name,...
In restoration, data on the primary volume is overwritten by the disk image of the secondary volume at the time backup is performed. Therefore, data on the primary volume that was created or updated after the backup is invalid. Arguments backup-ID Specify the backup ID of the backup data to be restored. The backup ID is used to uniquely identify backup data, and is registered in the backup catalog during backup. To check a backup ID, execute the drmexgcat command.
-force Specify this option to restore the data from the secondary volume to the primary volume by forcibly resynchronizing the volumes. With this option, forced resynchronization is performed if the copy group name of the primary volume obtained when backup processing was performed on the database server matches the information on the database server, even though the LDEV and SERIAL numbers do not match the LDEV and SERIAL numbers when backup processing was performed.
-ef Exchange-environment-setting-file-name Specify this option to change the parameter used for linking with Exchange Server each time a command is executed. For Exchange-environment-setting-file-name, specify a file name only. Do not specify a folder name. The specified Exchange environment settings file must be stored in the following folder: Application-Agent-installation-folder\conf\exchange If this option is omitted, the default value is used.
PROMPT> drmexgrestore 0000000001 -resync 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.
Storage group name = STR1 KAVX1737-I The seed processing has finished. Storage group name = STR1 KAVX1734-I The replication function of Exchange Server has resumed. Storage group name = STR1 KAVX1736-I The seed processing will now start. Storage group name = STR2 KAVX1737-I The seed processing has finished. Storage group name = STR2 KAVX1734-I The replication function of Exchange Server has resumed. Storage group name = STR2 KAVX0002-I The drmexgrestore command will now end.
Information store name = Mail01 KAVX1809-I The information store will now be mounted. Information store name = Mail02 KAVX1757-I Seed processing will now start. Exchange Server name = DatabaseServer2 Information store name = Mail01 KAVX1758-I Seed processing has finished. Exchange Server name = DatabaseServer2 Information store name = Mail01 KAVX1755-I The replication function of Exchange Server has resumed.
Arguments backup-ID Specify the backup ID of the secondary volume for which you want to verify the integrity. A backup ID has been assigned when a backup catalog was created in the backup server by exporting and importing information. 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).
Basic commands
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.
Conventions This guide follows the conventions shown in Table 49 to refer to HP StorageWorks P9000 Command View Advanced Edition Suite products.
Index B basic command functionality concealing and unconcealing physical volume, 114 create and delete Application Agent database, 141 basic command path , 81 basic commands drmappcat, 103 drmcgctl, 106 drmclusinit, 108 drmdbexport, 112 drmdbimport, 112 drmdbsetup, 141 drmdevctl, 113 drmexgbackup, 183 drmexgcat, 192 drmexgdisplay, 199 drmexgrestore, 207 drmexgverify, 214 drmfsbackup, 83 drmfscat, 89 drmfsdisplay, 94 drmfsrestore, 99 drmhostinfo, 119 drmmediabackup, 123 drmmediarestore, 125 drmmount, 127 dr
C check tool EX_DRM_EXG_DEF_CHECK, 69 EX_DRM_FS_DEF_CHECK, 20 EX_DRM_SQL_DEF_CHECK, 52 coding rules for creating transaction log target definition file, 82 common commands basic command specifications, 103 extended command specifications, 24 conceal and unconceal physical volume , 113 conventions for creating target definition file, 81 create and delete Application Agent database , 141 D data file (for SQL Server database), 48, 143 displaying information for Information Store, 199 displaying information fo
extended commands EX_DRM_BACKUPID_SET, 24 EX_DRM_CACHE_PURGE, 36 EX_DRM_CG_DEF_CHECK, 25 EX_DRM_DB_EXPORT, 26 EX_DRM_DB_IMPORT, 27 EX_DRM_EXG_BACKUP, 62 EX_DRM_EXG_DEF_CHECK, 68 EX_DRM_EXG_RESTORE, 71 EX_DRM_EXG_VERIFY, 76 EX_DRM_FS_BACKUP, 15 EX_DRM_FS_DEF_CHECK, 19 EX_DRM_FS_RESTORE, 22 EX_DRM_FTP_GET, 29 EX_DRM_FTP_PUT, 30 EX_DRM_HOST_DEF_CHECK, 32 EX_DRM_MOUNT, 38 EX_DRM_RESYNC, 33 EX_DRM_SQL_BACKUP, 47 EX_DRM_SQL_DEF_CHECK, 52 EX_DRM_SQL_RESTORE, 55 EX_DRM_SQL_TLOG_BACKUP, 58 EX_DRM_SQLFILE_EXTRACT, 60