psm MySQLCS view-backup

List a specific backup 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-backup -s|--service-name instance-name 
-b|--backup-id backup-id 
[-of|--output-format json|html|short]

Parameters

Parameter Description

-s|--service-name instance-name

Specifies the name of the MySQL Cloud Service instance.

—b|-backup-id backup-id

Specifies the unique id of the backup you want to display.

-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 the details of specified backup of the MySQL57–aas instance.

$ psm MySQLCS view-backup --service-name MySQL57-aas --backup-id f100504b-1734-43f1-b29e-23b042362d77