Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 Administration Guide


17.25 exportdb (acquiring backup data)

This section describes the exportdb command used to export data on the management server for backup purposes.

Functionality

This command exports data on the management server for backup purposes. The acquired backup can be used for data restoration in the event of a failure.

When you execute this command, a new backup storage folder is created with the name of YYYYMMDDhhmmss# under the backup folder you specify in the argument. The backup file will be created in this folder.

# YYYY: year, MM: month, DD: day, hh: hours, mm: minutes, ss: seconds

Execute this command on the management server.

Format

exportdb[ -f backup-folder][ -s]

Arguments

-f backup-folder

Specify the absolute path to the backup storage folder. Only the folders in local drive can be specified. The size of the backup file varies depending on the operational environment and how long JP1/IT Desktop Management 2 has been used. Make sure to keep enough free space for the disk drive in which the backup folder resides. The amount of space required is greater than the sum of the size of the database folder and the data folders that are already taking up capacity.

To specify a path containing a space, enclose the strings with double quotation marks ("). Specify a folder name that is 135 bytes or fewer in length, and exclude the backslash (\) at the end of the folder name. Half-width alphanumeric characters, white space, and the following special characters are allowed:

#, (, ), .(period), @, \

If any characters other than above are used for the JP1/IT Desktop Management 2 installation folder, always specify this argument. If this argument is not specified, the following folder is used for the backup folder.

  • When this argument is specified:

    folder-specified-in-argument\YYYYMMDDhhmmss

  • When this argument is omitted:

    JP1/IT Desktop Management 2-installation-folder\mgr\backup\YYYYMMDDhhmmss

Example:

If the command is executed on January 1, 2011 at 2:30:00:

JP1/IT Desktop Management 2-installation-folder\mgr\backup\20110101023000

-s

Specify this argument to stop management server services (stopservice command), exporting data backup (exportdb command), and start management of the server service (startservice command) automatically.

Storage location

JP1/IT Desktop Management 2-installation-folder\mgr\bin\

You can execute this command without specifying a storage location for the executable file, by using the command prompt provided by JP1/IT Desktop Management 2.

Notes

Return value

The following table shows the return values of the exportdb command.

Return value

Description

0

The command finished normally.

1

The backup was exported successfully, but the automatic starting of the management server failed.

11

The format for specifying the command arguments is invalid.

12

The specified folder is invalid or the folder does not exist.

31

Another command is being executed.

32

A backup storage folder that was created at the same time exists.

33

The disk does not have enough space.

34

Failed to start the database.

35#

The management server was in a starting process when the command is executed.

36

The database was in a shutdown process when the command is executed.

51

You do not have the permissions to execute this command.

52

The argument -s is specified in a cluster environment.

53

The management server is not stopped.

54

The management server has not been set up.

55

The default backup storage folder cannot be used.

61

Cannot connect to the backup folder for the operation logs.

62

Cannot log in to the backup folder for the operation logs.

63

The operation log-related folder does not have enough free space.

64

The backup of the operation log was interrupted due to some other error.

101

Failed to export backup data.

102

Failed to automatically stop the management server.

110

The command execution failed due to a problem with a license.

150

The command execution was interrupted due to some other error.

#: The value to be returned when argument -s is specified

Example

The following example shows use of this command to export backup data to C:\tmp\backup, stop the management server services, export data backup, and start the management server service automatically.

exportdb -f C:\tmp\backup -s

Related Topics: