psm MySQLCS backup
Performs an on-demand backup of an 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 backup -s|--service-name instance-name
[-a|--backup-type FULL] [--keep-forever true|false]
[-n|--notes "notes"]
[-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) Specifies the type of backup. Only |
|
(Optional) Specifies if the backup should be kept past the defined backup expiry date. Default value is false. |
|
(Optional) Enables the addition of explanatory notes. Notes must be enclosed in quotation marks. |
|
(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 performs a full backup on MySQL57–aas
instance, specifying that the backup be kept past the default expiration date.
$ psm MySQLCS backup --service-name MySQL57–aas --backup-type FULL --keep-forever true --notes "full backup before migration"