When I started, I found the section on backups in the manual a bit confusing. I wanted to know, what’s available for InnoDB backups that would correspond to “exports” and “hot backups” for Oracle. I had trouble extracting a clear answer from the manual.
Here’s what I’ve found over time, to the best of my knowledge.
Assuming you don’t want to buy extra software (eg, Zmanda), you can use mysqldump (”export”) and/or LVM (”hot backup”) for your backup needs. (mysqlhotcopy is not for InnoDB.) Replication is nice, too. Here’s a bit about each method.
1. mysqldump (think “export”)
You can get a full backup, even for point-in-time recovery, using
mysqldump. Mysqldump is sort of like Oracle’s export. Dumps the
database, and you can use it to import it back. It creates a
bunch of text commands that you can redirect into a mysql client
to do the import. And mysql has a tool for …