execute diagnostic
generates diagnostic logs from EMS and the database
Synopsis
execute diagnostic generates diagnostic logs for EMS.
To save a remote copy, provide any --remote flags required to connect.
In either case, a --compress-type (either zip or database) and --backup.password for the database backup file must also be provided.`
execute diagnostic [flags]
Options
--backup.password string A password for the database backup file to be included in the diagnostic output, which must be provided when the database is later restored
--copy.service string The service that will be used to copy to the remote host [scp|ftp|sftp] (default "scp")
-h, --help help for diagnostic
--include.db Controls whether a backup of the database will be included in the diagnostic output
--keep.file /exchange If copying to a remote host, controls whether a copy of the diagnostic file will be kept locally in the /exchange folder after the diagnostic file generation completes
--op_id string The operation ID will be used to track the status of the diagnostic operation
--remote.folder string The /path/ on the remote host to where the diagnostic file will be copied. The remote user must have write access to this location.
(For the FTP service, the file location is relative to the FTP root folder)
--remote.ip string The IP of the remote host where the diagnostic file will be copied to
--remote.password string The password for the remote user that will be used to connect to the remote host
--remote.port int The port to be used by the remote copy service. [default: 22 for SCP/SFTP, 21 for FTP]
--remote.user string The user that will be used to connect to the remote host
--yes Skip confirmation prompts during diagnostic logs generation
See also
- emscli execute - for executing commands on the host