October 11, 2018
| Ritesh Ghimire
Backup/Restore MySql database using PHP

In this post, we will be backing up and restoring database easily using PHP. The basic idea is to dump database table structure and data into a SQL file for backing up. While restoring, the SQL queries dumped into the file are executed one after another.