Hitachi

JP1 Version 12 JP1/Performance Management Reference


jpcwbackup

Organization of this page

Format

jpcwbackup      -d backup-data-storage-directory

Function

The jpcwbackup command creates a backup file for the definition information of PFM - Web Console in a specified directory.

Hosts that can execute the command

PFM - Web Console

Execution permission

In Windows:
  • User with Administrators permissions

  • User with Backup Operators permissions

In UNIX:

User with root user permissions

Installation directory

In Windows:

installation-folder\tools\

In UNIX:

/opt/jp1pcwebcon/tools/

Arguments

-d backup-data-storage-directory

Specifies the directory in which backed up definition information is to be stored. The directory can be specified with either a relative path or absolute path, but must satisfy the following conditions:

  • The directory exists on the local disk.

  • The directory is empty.

  • The administrator can access the directory.

  • The path name is not longer than 35 characters (in Windows) or 35 bytes (in UNIX). If a relative path of the directory is specified, this limitation also applies if it is converted to the absolute path of the directory.

  • The name of the directory does not use any characters other than single-byte alphanumeric characters, single-byte spaces, and the following symbols:

    ! # $ % + . - / : = @ [ \ ] _ { } ( )

    If the name includes spaces and the following symbols, they are enclosed in double quotation marks ("): ( ) ! =

    If an exclamation mark (!) is include in a directory name, a caret (^) is added as an escape character immediately before the exclamation mark (!).

Do not specify a network directory.

Notes

Return values

0

The command terminated normally.

1

Invalid arguments are specified on the command line.

2

The user does not have execution permission for the command.

3

Creation of a directory failed.

4

The specified directory was not empty.

15

An attempt to access the directory that contains template information for monitoring bookmarks or processes failed.

100

The Performance Management environment is invalid.

101

There are problems with the config.xml file.

200

A memory shortage occurred.

202

A file access error occurred.

210

A disk space shortage occurred.

235

An attempt to back up one or more files failed.

255

An unexpected error occurred.

Usage example

This example executes the command by specifying the /tmp/backup_wc_2012 folder with the -d option.

jpcwbackup -d /tmp/backup_wc_2012

Output result (Console)

>jpcwbackup -d /tmp/backup_wc_2012
KAVJT6501-I  The PFM - Web Console backup of definition information will now start.
The backup of definition information for PFM - Web Console service ended.
The backup of bookmarks information ended.
The backup of processMonitoringTemplates information ended.
KAVJT6502-I  The PFM - Web Console backup of definition information ended normally.