Table of Contents
To troubleshoot issues regarding backup and restore with the MySQL Enterprise Backup product, consider the following aspects:
Before troubleshooting any problem, familiarize yourself with the known limits and restrictions on the product, in Appendix B, Limitations of MySQL Enterprise Backup.
If mysqlbackup encounters problems during operating system calls, it returns the corresponding OS error codes. You might need to consult your operating system's documentation for the meaning of those error codes and how to handle them.
The output from mysqlbackup is sent to
stdout. By default, the same output is also saved to a log file in the
backup_dirfor use in error diagnosis. See Section 15.11, “Message Logging Options” for details on how to configure this logging feature.
Incremental backups require care to specify a sequence of time periods You must record the final LSN value at the end of each backup, and specify that value in the next incremental backup. You must also make sure that the full backup you restore is prepared correctly first, so that it contains all the changes from the sequence of incremental backups.
As mysqlbackup proceeds, it writes progress information into the
mysql.backup_progresstable. When the command finishes the backup operation, it records status information in the
mysql.backup_historytable. You can query those tables to monitor ongoing backup jobs, see how much time has been used for various stages, and check if any errors have occurred.