esacli restore

Use the esacli restore to restore the configuration settings, discovered systems, and detected problem's information in IBM Electronic Service Agent.

Synopsis

esacli restore {-f file_name}

Description

The esacli restore command imports the configuration settings, discovered systems, and detected problems for IBM Electronic Service Agent instance from the backup file. This command displays a message - The operation completed successfully. on successful completion.

Options

-f | --file file_name

Specifies the name of the .esabkp file from which the configuration settings are imported. The esacli backup command can be used to generate a file with the proper format for the esacli restore command. The file can specify either an absolute path or a path relative to the current working directory..

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}
  • 18: An option was set more than once. Option: {option}
  • 19: An option value was not provided when required. Option: {option}
  • 21: The input file could not be read. Reason: {Reason}
  • 30: IBM Electronic Service Agent instance is currently suspended.
  • 60: The restore operation failed. Reason: {Reason}.

Examples

  • This example illustrates restoring the ESA configuration
    esacli restore -f esa.esabkp
    The operation completed successfully.