Showing posts with label backup. Show all posts
Showing posts with label backup. Show all posts

PHP Class to Generate/Restore backup from/to MYSQL database

Posted by Tarek N. Elsamni | Posted in , , , , , , , , , | Posted on 19:23

2

This PHP class will help you to take a backup from your MYSQL database as it will generate .gz file to be downloaded or stored on a specific path.

First you need to include the PHP class to use it:



Then you have 3 different ways to take the backup:





To restore a MYSQL database backup include restore class:


Then start restoring process:

This class & more examples can be downloaded from this link: Download