- Run
zstack-ctl dump_mysql
to back up the database once. - Run
crontab -l
. Then, the database will be backed up once every 00:00 and 12: 30. The latest 14 copies of databases will be reserved. You can make some adjustments for the setting as needed. In consideration of your data security, we recommend that you back up your database to a remote server.30 0,12 * * * zstack-ctl dump_mysql --keep-amount 14
How can I back up my database in ZStack? Print
Created by: ZStack Support
Modified on: Mon, 28 Mar, 2022 at 12:04 PM
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.