
Originally Posted by
brianoz
cPanelDon, is the ibdata file included in the mysql directory backup? I thought by default it was stored under /etc?
Yes; if the MySQL data directory is set for backup, then if InnoDB is enabled the "ibdata" file would be included; here is an example set of directory paths assuming the backup directory is "/backup":
Code:
/backup/cpbackup/daily/dirs/_var_lib_mysql_/
/backup/cpbackup/weekly/dirs/_var_lib_mysql_/
/backup/cpbackup/monthly/dirs/_var_lib_mysql_/

Originally Posted by
brianoz
Unfortunately I think cPanel's defaults get the ibdata file badly wrong - it should default to having the following line in /etc/my.cnf to force separate data files per database:
innodb_file_per_table
... but it doesn't, so you get mega file growth in ibdata which can easily become unmanageable!
(Hi Naveen/Daryus etc!!)
cPanel does not define the default MySQL configuration; customizing of MySQL configurations is the choice and responsibility of the server administrator.