esacli import
Use the esacli import command to import the configuration settings for the Electronic Service Agent instance.
If the configuration settings being imported include values for all of the required options for the esacli activate command, then the Electronic Service Agent instance will be activated as if the esacli activate command had been used.
Synopsis
esacli import {-f file_name}
Description
The esacli import command enables you to import the configuration settings for the Electronic Service Agent instance from a file.
Options
- -f | --file {file_name}
- Specifies the name of a file from which the configuration settings are to be read. The
esacli export command can be used to generate a file with the proper format for
the esacli import command. The generated file includes comments documenting the
various settings which can be changed. The file can specify either an absolute path or a path
relative to the current working directory.Note: The file that is used for importing properties using esacli import command must not contain values with leading or trailing spaces. Import action fails if esacli import -f import.properties command is used and if a property in the import.property file contains a leading or a trailing space.
Exit status
The following table contains the codes that are returned by this command.0: The operation completed successfully.1: IBM® Electronic Service Agent instance is not running.10: An unsupported option was specified. Option: {option}.14: A required option was not provided. Option: {option}.17: The import operation failed. Reason: {Reason}18: An option was set more than once. Option: {option}.19: An option value was not provided when required. Option: {option}.21: An input file could not be read. Reason: {Reason}
Examples
- Successful import
This example illustrates running the esacli import command.
esacli import -f import.file