DBS offers features such as full backup, incremental backup, and data recovery. To use the service, you need to create a backup plan (DBS instance) and your database configuration and account must meet specific requirements.
- You need to set the value of the binlog_format variable to row so that the binary log contains complete pre-image and post-image data about DML statements. This facilitates data recovery.
- We recommend that you set the value of the binlog_format variable to row to improve the chances of successful data recovery.
- When the value of the binlog_format variable is set to row, this only changes the binary log content and does not affect query performance. We recommend that you kill all current connections to your database so that the new setting applies to all subsequent connections to your database.
Log on to the DBS console, go to the configuration page of your backup plan, and perform a precheck. If the value of binlog_format is not row, the following message appears:
To set the value of binlog_format to row, log on to your database system and run the following command: set global binlog_format=ROW.
Kill all current connections to your database.