HP StorageWorks XP Command View Advanced Edition Software 6.4 Server Administrator Guide for Device Manager and Provisioning Manager (web) (T1780-96341, July 2010)

Table Of Contents
Managing the database
134
The following options can be specified for the hcmdsbackups command:
dir
Specify the absolute path of the directory on the local disk that stores the backup files of the
Device Manager server database. In Linux, do not specify a path that includes a space.
CAUTION: Make sure that no files or subdirectories are in the directory specified for the dir
option. If any are, the backup will be aborted. In this case, delete the files or subdirectories in that
directory, and then retry the hcmdsbackups command.
auto
This option automatically changes the XP Command View AE Suite product services and
the HiRDB service to the statuses required for backing up the database. After the command
finishes, the XP Command View AE Suite product services and the HiRDB service will be
active.
When you execute the hcmdsbackups command, the directory database will be created in
the directory for storing backup files, specified with the dir option, and these files will be
combined and stored as the file backup.hdb.
NOTE: The setting files for XP Command View AE Suite products are backed up in locations
other than the database directory created in the directory for storing backup files, specified with
the dir option If an error occurs in the management server and you need to reinstall XP
Command View AE Suite products, you can use the backed up setting files to check the previous
settings.
3. If XP Command View AE Suite products whose versions are earlier than 5.7 are installed, start
their services as needed.
For details about how to start these services, see the manual for your product version.
9-3 Restoring the database
Before restoring the database, make sure that the items below are the same on the server from
which the Device Manager server database was backed up and on the server to which the backed-
up database is to be restored. If the following differ, the database cannot be restored:
The installed XP Command View AE Suite products, and their versions and revisions
Installation locations for XP Command View AE Suite products, Common Component, and
their databases
The IP address and host name of the host
CAUTION:
The hcmdsdb command, which is used in the procedure below, creates temporary files during execution.
Make sure that you have write permission for the directory that contains backup files, and that the
directory has enough space. The required space can be estimated as follows:
total-size-of-the-databases-for-XP-Command-View-AE-Suite-products-to-be-
backed-up + 20 MB
To restore a database:
1. If XP Command View AE Suite products whose versions are earlier than 5.7 are installed, stop
their services.
For details about how to stop these services, see the manual for your product version.
2. Execute the hcmdsdb command to restore the database.