Skip to end of metadata
Go to start of metadata

Starting with MySQL 5.5 and for higher versions, the default storage engine within mySQL has been set to be the InnoDB Storage Engine.  

With this change, a higher rate of failure in restores has been seen in the MySQL 5.7 and higher versions. This has been accounted to the data consistency standards that InnoDB adheres to. The reason relates to how InnoDB works. A short version is, when an attempt to restore a database is made, internally an attempt to restore to a temporary MySQL instance is made. However, the temporary MySQL instance fails to start, when only partial databases are restored. This is due to the nature of InnoDB, where it looks for the other databases referenced in the logs, that were not restored. On failing to find the same, it fails to start the temporary instance.

MySQL has provided the innodb_force_recovery option, which instructs InnoDB to start up in a recovery mode, telling it to skip various portions of the InnoDB start-up process. However, this option can also be destructive, hence it is recommended to use this option carefully. Also, we recommend that if needed, start with a low value and increase it only as needed.

Due to the destructive nature, we have given the Control Panel Admin, the option to enable or disable this feature to end users. If enabled, then this option will be made available during a MySQL Restore. 

How to Restore MySQL databases with innodb_force_recovery option

1. Access the recovery point of your account backups. There are two options to access the Recovery Points:

a. Access account backups via Direct Link
b. Access account backups via cPanel plugin

2. Here, you will be able to view all of their Recovery points that have been backed up. To the right of each recovery point, you will find the available options.

3. From these options, select the option Browse Databases. You will be provided with a page which presents all of the recoverable databases.

4. Go ahead and select the database that you want to restore. Click the restore button to start the restore process for the database.

5. If the innodb_force_recovery option has been enabled, by the Control Panel Admin, you will be provided a popup box, with the innoDB_force_recovery option and a drop-down to select the value. 

The default value of the drop-down is 0, and it is recommended to continue with this value.
However, if you need to set the value of the innodb_force_recovery option, this would be the location to do so.  

6. Once set, continue to follow the steps, as usual, to complete the database restore.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.