esacli backup

Use the esacli backup to take a backup of the configuration settings, discovered systems, and detected problems in IBM Electronic Service Agent.

Synopsis

esacli backup {-f file_name} [-r]

Description

The esacli backup command takes a backup of the configuration settings, detected problems, discovered systems to a file that can be used to restore an ESA configuration. This command generates a .backup file that can be used by the esacli restore command. This command displays a message - /root/esa.esabkp created successfully on successful completion.

Options

-f | --file file_name

Specifies the name of the archive file (.esabkp) to which the configuration settings are written. The file can specify either an absolute path or a path relative to the current working directory. The file cannot exist unless the replace option is specified.

-r | --replace ""

Specifies the file to which the configuration settings are written which might 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: An 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}.
  • 20: An output file could not be created. Reason: {Reason}
  • 59: The backup operation failed. Reason: {reason}.

Examples

  • This example illustrates taking the backup of ESA configuration
    esacli backup -f esa.esabkp
    /root/esa.esabkp created successfully