export

This command places all files of the specified type into the file transfer directory, where they can be accessed by the tibfile user.

export <instance> <type> 
instance The EMS server instance. Can be one of the following values:
  • 0 refers to EMS server instance 0.
  • 1 refers to EMS server instance 1.
  • all refers to both instance 0 and 1 and all file rotations. If the <instance> option is not specified, the default behavior is all.
type The type can be one of the following values:
  • logs: Copies all log files. This is the default behavior. If the type is not specified, the default is logs.
    Note: To export a single log file, you must use type=logs.
  • log-filename: Copy the specified file.
  • log-filename-path/log-filename: Copy the specified file from the path specified.
  • cores: Moves any core report. Note that this removes the core files from the operating directory.
  • certs: Copies the current SSL certificate files.
  • config: Copies the following files:
    • EMS server instance tibemsd.json
    • tibemsd.config
    • emsd.pathmap
    • appliance-wide emsa_params.json
    • emsa_emsmon.config

Here are some examples of using the command.

To export instance-specific cert files, use the following command:
export <0|1> certs
To export core files that are not instance-specific, use the following command:
 export cores
To export config and log files that are both instance-specific and not instance-specific, use the following commands:
Command Exports
export config non-instance specific config files
export logs non-instance specific log files
export <0|1> config instance specific config files
export <0|1> logs instance specific log files
export all config both instance and non-instance specific config files
export all logs both instance and non-instance specific log files
export all emsa.syslog all rotations of non-instance specific emsa.sylog log file
export all emsd.log all rotations for both instances for the instance specific emsd.log file

The appliance-wide files are copied regardless of the instance specified.