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
133
Table 9-1 Backing up and restoring as opposed to exporting and importing
Item Backing up and restoring exporting and importing
Conditions for the server to which
data is restored or imported
The following conditions must be
the same for the server from which
data is backed up and the server to
which the backed-up data is
restored:
Which XP Command View AE
Suite products are installed,
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
The XP Command View AE
Suite products whose
databases are to be imported
must be installed.
The versions of the installed
XP Command View AE Suite
products must be the same as
or later than the ones on the
host from which data is
exported.
The following sections describe the procedure for each operation separately.
9-2 Backing up the database
To back up the Device Manager database, a directory for storing the backup files is required. This
directory requires the following space, including the space required for the temporary files created
by the backup command.
Required space:
(total-size-of-the-databases-for-XP-Command-View-AE-Suite-products-to-
be-backed-up x 2) + 20 MB
For example, if Device Manager and XP Provisioning Manager are installed on the same server,
estimate the required space by totaling the sizes of the following directories:
The directory of the Device Manager database
The directory of the Common Component database
If other XP Command View AE Suite products are installed, add the sizes of their directories to your
estimate.
To back up 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 hcmdsbackups command to back up the database.
In Windows:
installation-folder-for-Common-Component\bin\hcmdsbackups /dir
folder-for-storing-backup-files /auto
In Linux:
installation-directory-for-Common-Component/bin/hcmdsbackups -dir
directory-for-storing-backup-files -auto