HP StorageWorks XP Replication Monitor software installation and configuration guide (T1784-96008, November 2006)

Establishing XP Replication Monitor software initial settings 64
3-8-1-1 Format
hcmdsbackups /dir backup-directory-name
3-8-1-2 Description
Targets the data of Command View XP AE Suite products on the same management server for backup.
3-8-1-3 Arguments
dir backup-directory-name
Specify the absolute path of the directory where the backup data is to be stored. If the specified directory
does not exist, it is created. If the specified directory is not empty, an error message is output and the
backup stops.
In the specified directory, the command creates a subdirectory that has the name of the backed up
Command View XP AE Suite product and a directory named database. The directory that has the name of
the backed up Command View XP AE Suite product stores data on a product basis and the database
directory stores databases of Command View XP AE Suite products containing Common Component.
You can specify characters other than ASCII code characters (from 0x20 to 0x7E) and some symbols (\ /
: , ; * ? " < > | $ % & ' `). Also, the following characters can be specified as delimiter
characters:
\ / :
3-8-1-4 Return values
0: Normal termination
1: Error in the arguments
2: Termination with an error
3-8-1-5 Supplementary explanation
To execute this command, the an administrator group user must be logged in to the system.
From the operating environment information for XP Replication Monitor software, property files are stored as
follows:
directory-specified-in-/dir-option\ReplicationMonitor
The database of Common Component is always backed up. The backup files for the databases of the
Command View XP AE Suite products containing Common Component are stored in the following location
and the following file name is assigned:
directory-specified-by-/dir-option\database\backup.hdb
Do not execute multiple instances of this command at the same time.
3-8-1-6 Execution examples
In the following example, the command backs up data of all installed Command View XP AE Suite products:
>hcmdsbackups /dir C:\Backups
3-8-2 Restoring databases
To restore XP Replication Monitor databases, execute the hcmdsdb command of Common Component.
The hcmdsdb command is stored in the directory shown below:
Common Component-installation-folder\bin\
NOTE: Before restoring databases, stop the services of Common Component and services of other Command
View XP AE Suite products.
3-8-2-1 Format
hcmdsdb /restore backup-file-name
/type Command View XP AE Suite product-name