Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 Distribution Function Administration Guide


14.11 dcmpkput.exe (recovering a package by using a backup

This section describes the dcmpkput command, which recovers a package by using a backup. Note that this command does not use a parameter file.

Function

This command recovers a package by using a backup file, and stores the package in a specified cabinet.

Format

dcmpkput.exe [/C cabinet-ID] /i input-source-directory
             [/of input-file-name] [/f]

Arguments

Return codes

The following table lists the return codes that are output when the dcmpkput command is executed:

Code

Meaning

Action to be taken

0

The package was recovered successfully.

None

1

The output file output by the dcmpkget command cannot be opened, or its file format is incorrect.

Check the path name and the file format of the output file.

2

An invalid value was specified in a command argument.

Check the values set in command arguments.

3

Connection to the database failed.

Check database settings in the setup of the managing server.

4

The specified backup file was not found.

Check the path name of the backup file.

5

  • The package already exists, or no more packages can be added to the cabinet.

  • Connection to the JP1/IT Desktop Management 2 service failed.

  • Check the names and number of the packages stored in the cabinet.

  • Check whether the service of JP1/IT Desktop Management 2 - Manager has started.

12

Restoration of one or more archive files failed.

Reference the event log.

Notes

Example

The following example shows use of this command to recover a package by using a backup file made by the dcmpkget command.

To recover packages by using all the backup files stored under C:\Dmbat\backup, and store them in the cabinet that has a cabinet ID of 01, specify the command as follows:

dcmpkput.exe /C 01 /i C:\Dmbat\backup /of *