Restore test
A restore test verifies that a database backup can actually be loaded into a fresh database and that the recovered data is usable. In this course, the learner restores a mysqldump file into restore_test and checks important tables with sanity queries.
Minimal example
gunzip -c /backups/zomato.sql.gz | mysql -h mysql -u app -p restore_test
mysql -h mysql -u app -p restore_test -e \
"SELECT COUNT(*) FROM restaurants;"Learn this concept
Lesson 7.5 · HTTPS health and migration gatesUsed in exercises
Exercise 7.7 · Nightly mysqldump and one restore testPrerequisite conceptsLogical backup