Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/IT Desktop Management Administration Guide


17.18  movelog (moving operation logs on the site server)

This section describes the movelog command, which moves operation log data to another folder within the site server.

Functionality

This command moves operation log data to a folder you specify on the site server.

You can use this command, for instance, to tweak your operational environment by installing an additional hard disk on the site server to save operation logs. This can be done by first changing storage folders of the operation logs during a site server setup, and then executing the movelog command to move the operation logs to a new storage folder.

This command stops the site server if the server is started at the time of command execution. The site server starts again when the command is completed. If this command is executed when the site server is stopped, the server remains stopped after the command is completed.

Execute this command on the site server.

Format

movelog -source folder-name-to-move-from -destination folder-name-move-to

Argument

-source folder-name-to-move-from

Specify the absolute path of the folder in which operation log data is stored.

The storage folder of the operation logs cannot be specified. Change the storage folder during the server setup before you execute this command.

-destination folder-name-to-move-to

Specify the absolute path of the folder into which to move the operation log data. To specify a path containing a space, enclose the strings with double quotation marks (").

The destination folder must be empty to move the data.

Storage location

site-server-installation-folder\mgr\bin\

Notes

Return value

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

Return value

Description

0

The command finished normally.

1

A warning was raised during command execution. The command stopped.

11

The format for specifying the command arguments is invalid.

31

Another command is being executed.

51

You do not have the permissions to execute this command.

54

The site server has not been set up.

61

The specified source folder is either the current storage folder or a folder that does not contain any operation logs, or the destination folder is not empty.

62

A file access error occurred.

101

Command execution failed because there is not enough memory, or due to some other reason.

102

Failed to automatically stop the site server.

120

A database access error occurred.

Example

The following example shows use of this command to move operation log data stored in D:\log_data_old to E:\log_data_new. In this example, the storage folder for the operation logs is assumed to have already been changed to E:\log_data_new during server setup.

movelog -source D:\log_data_old -destination E:\log_data_new

Related Topics: