Backup Failures Due to DDL Operations
Scenario
Backups failed to be created for a DB instance two days in a row because there were DDL operations performed during the time window defined in the backup policy.
Possible Causes
RDS for MySQL uses XtraBackup to create full backups. To ensure data consistency, there are metadata lock conflicts between full backups and DDL operations. As a result, backups are blocked and fail due to timeouts.
Run the show processlist command to check whether any DDL operation was performed in the backup time window.
Solution
- Stop the DDL operations and perform a manual backup.
- Do not perform DDL operations in the backup time window.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot