psm MySQLCS snapshot

Display the details of a snapshot defined for a MySQL Cloud Service instance.


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

psm MySQLCS snapshot -s|--service-name instance-name 
    -n|--snapshot-name snapshot-name
    [-of|--output-format json|html|short]


Parameter Description

-s|--service-name instance-name

Specifies the name of the MySQL Cloud Service instance.

-n|--snapshot-name snapshot-name

Specifies the name of the snapshot.

-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.


The following example displays details of the named snapshot of the mysql57-aas instance.

$ psm MySQLCS snapshot --service-name mysql57-aas --snapshot-name mysql57-snap1