psm MySQLCS view-restore

List the details of a specific restore operation for a MySQL Cloud Service instance.

Syntax

In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.

psm MySQLCS view-restore -s|--service-name instance-name 
  -j|--job-id id-of-the-restore-operation
    [-of|--output-format json|html|short]

Parameters

Parameter Description

-s|--service-name instance-name

Specifies the name of the MySQL Cloud Service instance.

-j|--job-id id-of-the-restore-operation

Returns the details of the specified restore job.

-of|--output-format json|html|short

(Optional) Specifies the output format of the command’s response:

  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

  • short—output is formatted as a brief summary.

The default output format is the one you specified when using the psm setup command to configure the psm CLI.

Examples

The following example lists a specific restore applied to the MySQL57–aas instance.

$ psm MySQLCS view-restore --service-name MySQL57–aa --job-id