We have a decent sized server with a pair of SAS drives (Raid 1) and a single SSD... When the server was configured, a symlink was setup from /var/lib/mysql to the SSD for all the databases:
We backup files and the mySQL databases via the Idera (R1Soft) backup and database agents. Everything works fine with backups and file restores... BUT the databases cannot be restored due the symlinked mysql directory... Apparently the symlinking of the /var/lib/mysql to somewhere else is the cpanel supported option but is not supported by Idera.
Now since the server is in one datacenter and the backups in another, now we get the blame game going. Backup provider says server is not configured correctly, server support says backup agent is not configured correctly and Idera says go ask your backup provider. Only one left to open a ticket with is cPanel, but I'll post here first since they really do read these things.
A few options left are:
1. Drop the whole SSD DB thing or go all SSD
2. Drop the symlink and map the datadir in the my.cnf
3. Drop the symlink and use mount to bind new path:
We can't be the only ones who ran into this... Ideas?
Code:
ln -s /ssd/mysql /var/lib/mysql
Now since the server is in one datacenter and the backups in another, now we get the blame game going. Backup provider says server is not configured correctly, server support says backup agent is not configured correctly and Idera says go ask your backup provider. Only one left to open a ticket with is cPanel, but I'll post here first since they really do read these things.
A few options left are:
1. Drop the whole SSD DB thing or go all SSD
2. Drop the symlink and map the datadir in the my.cnf
3. Drop the symlink and use mount to bind new path:
Code:
mount -o bind /ssd/mysql /var/lib/mysql