esacli export

Use the esacli export command to export the configuration settings for the IBM® Electronic Service Agent instance.

Synopsis

esacli export {-f file_name} [-r]

Description

The esacli export command enables you to write the configuration settings for the IBM Electronic Service Agent instance to a file.

Options

-f | --file file_name
Specifies the name of a file to which the configuration settings are to be written.

The file can specify either an absolute path or a path relative to the current working directory. The file cannot already exist unless the replace option is specified.

-r | --replace
Specifies the file to which the configuration settings are to be written can replace an existing file.

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: Unsupported option was specified. Option: {option}.
  • 14: A required option was not provided. Option: {option}.
  • 16: The export 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}.
  • 20: An output file could not be created. Reason: {Reason}

Examples

  • Successful export

    This example illustrates running the esacli export command.

    esacli export -f export.file