0
Im not a dabase admin or advanced database user or advanced linux user.. but I would like to know how to verify mysql dumps because I am backing up my own sites manually.
Normally when backing up lot of mysql dumps, is there a way to check the integrity of the database dump without restoring the database in to a test database. May be some tools to verify that ? I mean when we automate backups using a cron or some thing if we are going to open 100 database backup jobs, its difficulty to restore all the databases and verify the db is working.
Any help would be greatly appreciated
Yes, the best way to verify is to actually restore it and see if it works. If you are using "mysqldump" as yourbackup, the resulting file is a text file of sql statements that can be used to restore your database. The only way to verify this is to go through the whole file and eyeball it. Not very scientific. Better way is to use the file to restore to test db and have the programmer or DBA or someone test against it. – ben – 2014-07-07T18:47:48.197