• 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