Automated backups with unsupported MariaDB storage engines (original) (raw)
For the MariaDB DB engine, automated backups are only supported with the InnoDB storage engine. Using these features with other MariaDB storage engines, including Aria, can lead to unreliable behavior when you're restoring from backups. Even though Aria is a crash-resistant alternative to MyISAM, your tables can still be corrupted in the event of a crash. For this reason, we encourage you to use the InnoDB storage engine.
- To convert existing Aria tables to InnoDB tables, you can use the
ALTER TABLEcommand. For example:ALTER TABLE `table_name` ENGINE=innodb, ALGORITHM=COPY; - If you choose to use Aria, you can attempt to manually repair tables that become damaged after a crash by using the
REPAIR TABLEcommand. For more information, see http://mariadb.com/kb/en/mariadb/repair-table/. - If you want to take a snapshot of your Aria tables before restoring, follow these steps:
- Stop all activity to your Aria tables (that is, close all sessions).
- Lock and flush each of your Aria tables.
- Create a snapshot of your DB instance or Multi-AZ DB cluster. When the snapshot has completed, release the locks and resume activity on the Aria tables. These steps force Aria to flush data stored in memory to disk, thereby ensuring a clean start when you restore from a DB snapshot.
Unsupported MySQL storage engines
Cross-Region automated backups
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.