PHP Classes

PHP MySQLi Database Backup: Take MySQL database backups generating SQL

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-02-14 (8 months ago) RSS 2.0 feedNot enough user ratingsTotal: 196 This week: 3All time: 8,041 This week: 240Up
Version License PHP version Categories
mysqli-backup 1.0.0The PHP License5PHP 5, Databases, Systems administration
Description Author

This class can take MySQL database backups generating SQL.

It connects to a MySQL database server using MySQLi and extracts the lists of tables and fields.

The class queries the database to extract the table record values and outputs to a file SQL CREATE and INSERT statements to recreate the database.

  Performance   Level  
Name: Channaveer Hakari <contact>
Classes: 2 packages by
Country: India India
Age: 27
All time rank: 3721264 in India India
Week rank: 237 Up27 in India India Up


How to Use ?

Unzip the downloaded file.

Copy and paste the folder to www directory.

Change the DB Configuration in the constructor.

Run the project from the browser.

DB Backup will be taken in the specified folder or a default folder will be created and will be logged.

That's it! Happy Coding :)

  Files folder image Files  
File Role Description
Accessible without login Plain text file composer.json Data Auxiliary data
Plain text file DatabaseBackup.php Class Class source
Accessible without login Plain text file LICENSE.txt Lic. License
Accessible without login Plain text file Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
This week:3
All time:8,041
This week:240Up