Hitachi

JP1 Version 12 JP1/Navigation Platform Setup and Operations Guide


9.6 npdatabackup command (back up environment)

Description

This command backs up environments for Navigation Platform.

This command can be executed only in the execution environment and the editing environment. Do not execute this command in the development environment.

This command must be executed while the system is stopped.

The following table lists and describes the data that can be backed up by this command.

Table 9‒3: Data that is backed up

No.

Data

Storage location

1

Data for Operational Contents

backup-directory\contents.zip

2

List of data for Operational Contents

backup-directory\contentslist.txt

3

Static files used in Operational Contents

backup-directory\HNP\PP\uCPSB\httpsd\htdocs

4

Settings files related to Navigation Platform (such as property files)

backup-directory\HNP\conf

Dashboard function access user management file

5

Information about the Navigation Platform installation directory path

backup-directory\installpath.txt

6

Navigation Platform version information

backup-directory\HNP\sysconf\ucnpversion.properties

7

User Plugins and settings files#

backup-directory\plugin_files

8

User authentication settings files

backup-directory\auth_conf\PP\uCPF\conf\Repository.xml

backup-directory\auth_conf\PP\uCPSB\manager\conf\ua.conf

Notes:

#

The npdatabackup command cannot acquire files required for User Plugins and the data such as databases in the system that are linked with user programs. We recommend that you acquire such data individually when you make backups.

Format

npdatabackupΔbackup-directory-path

You can specify an absolute path or a relative path for the directory. We recommend that you specify a path that is shorter than the Navigation Platform installation directory because if a specified path is too long, processing might fail.

Use backslashes (\) for the delimiters. If a path contains a single-byte space, enclose the entire path in double quotation marks ("). In addition to these symbols, the only other symbols permitted in directory paths are single-byte colons (:) and single-byte periods (.) that indicate relative paths.

Notes:

Return value

Return value

Description

0

Navigation Platform environment backup processing was successful.

1

Navigation Platform environment backup processing failed.

2

A lock error occurred on the command.

9

An execution permission error occurred.

Note:

The return value is undefined if the command is terminated by a cause beyond the command's control (such as when the command is terminated forcibly by pressing the Ctrl key and the C key at the same time).

Example

This example assumes that the backup directory is C:\temp\backupdata:

> Navigation-Platform-installation-directory\bin\npdatabackup C:\temp\backupdata