Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 - Smart Device Manager


sdmexportdb (acquiring backup data)

This command is used to export data on the smart device manager for backup purposes.

Organization of this page

Functionality

This command exports data on the smart device manager 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

Format

sdmexportdb[ -f backup-folder]

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/ITDM2 - SDM 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 (").

Make sure that the path length of the backup folder is 165 or fewer characters (bytes), including the backup file name.

You can use half-width alphanumeric characters, white space, and the following special characters:

#, (, ), hyphen (-), period (.), @, underscore (_), and path-delimiter backslash (\)

If this argument is specified, the following backup folder is used:

folder-specified-in-argument\yyyyMMddhhmmss

If this argument is omitted, backup files are stored in the following default backup folder:

JP1/ITDM2 - SDM (Smart Device Manager)-installation-folder\mgr\backup\yyyyMMddhhmmss

Storage location

JP1/ITDM2 - SDM (Smart Device Manager)-installation-folder\mgr\bin

Execution permissions

Administrator permissions (this command is executed from the administrator's console if the Windows UAC function is enabled)

Notes

Return values

Return value

Description

0

The command finished normally.

11

The format for specifying the command arguments is invalid. Alternatively, the length of the folder name specified for the command argument exceeds the upper limit.

12

You do not have the permissions to execute this command.

13

The specified server is not correct, or the operating environment of JP1/ITDM2 - SDM (Smart Device Manager) is invalid.

14

The file does not exist, or you do not have permission to access it.

15

A file access error occurred, or the disk does not have sufficient capacity.

16

The specified folder does not exist.

17

An access error for the specified folder occurred.

18

Another command is being executed.

24

An attempt to create a backup file failed.

30

The database cannot be accessed.

150

Other error occurred.

253

The service has not started.

Example

The following shows an example of using the command to acquire backup data to C:\tmp\backup.

sdmexportdb -f C:\tmp\backup

Related Topics