dump_mysql
Description
Saves the database to a backup file.
Usage
| Parameter | Description | Example |
|---|---|---|
| --file-name FILE_NAME | Sets a name for the backup database. Default: zstack-backup-db. | zstack-ctl dump_mysql --file-name
'zstack-backup-db' |
| --keep-amount KEEP_AMOUNT | Sets the number of backup databases. Default: 60. If the number of backup databases exceeds the threshold, excessive databases will be deleted. | zstack-ctl dump_mysql --keep-amount
50 |