i'm looking at the Databases section of the documentation for WHM Backup Configuration. It lists three options for database backups:
It seems like option #1 will make it easiest to restore a database for an individual account, but there are some databases in /var/lib/mysql/ that aren't associated with user accounts I should probably be backing up as well. What I'm wondering is that if I go with option #2, will the users' databases still be in the <date>/accounts/username.tar.gz files that Backup creates? Does option #2 use mysqldump so that InnoDB issues aren't created?
- Per Account Only — Only back up the databases for each account. This setting uses the mysqldump utility.
- Entire MySQL Directory — Back up all of the databases on the server from the /var/lib/mysql/ directory.
- Per Account and Entire MySQL Directory — Perform a comprehensive backup that copies all of the databases for each individual account and all of the databases on the server.
All my tables are InnoDB, so if I'm correct that the warning refers to option #3, it's not a good way for me to go. That leaves only options #1 and #2.Warning:
Exercise extreme caution if you select this setting. This setting backs up your databases without stopping MySQL®. This action causes InnoDB issues in the backup file. The system can’t restore backup files with InnoDB issues.
It seems like option #1 will make it easiest to restore a database for an individual account, but there are some databases in /var/lib/mysql/ that aren't associated with user accounts I should probably be backing up as well. What I'm wondering is that if I go with option #2, will the users' databases still be in the <date>/accounts/username.tar.gz files that Backup creates? Does option #2 use mysqldump so that InnoDB issues aren't created?