psm MySQLCS delete-backup
Deletes a specific backup of 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 delete-backup -s|--service-name instance-name
-b|--backup-id backupID
[-f|--force true|false]
[-wc|--wait-until-complete true|false]
[-of|--output-format json|html|short]
Parameters
Parameter | Description |
---|---|
|
Specifies the name of the MySQL Cloud Service instance. |
|
(Optional) Ensures the backup is deleted even if errors occur. Default value is false. |
|
Specifies the alphanumeric identifier of the backup you want to delete. Retrieve this value using the |
|
(Optional) If set to Waiting for the job to complete... (it cannot be cancelled) The default value is |
|
(Optional) Specifies the output format of the command’s response:
The default output format is the one you specified when using the |
Examples
The following example deletes a backup of the MySQL57–aas
instance with the backupID
ofb5bbbd3a-1234–76e3–8r34–3c3d1f67f91b
.
$ psm MySQLCS delete-backup --service-name MySQL57-aas --backup-id b5bbbd3a-1234–76e3–8r34–3c3d1f67f91b