Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

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

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



This post first appeared on Code Snippets, please read the originial post: here

Share the post

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

×

Subscribe to Code Snippets

Get updates delivered right to your inbox!

Thank you for your subscription

×