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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 457 This week: 1All time: 6,105 This week: 560Up
Version License PHP version Categories
mysqli-backup 1.0.1The 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.

Picture of Channaveer Hakari
  Performance   Level  
Name: Channaveer Hakari <contact>
Classes: 8 packages by
Country: India India
Age: 33
All time rank: 2443145 in India India
Week rank: 411 Up26 in India India Up
Innovation award
Innovation award
Nominee: 2x

Documentation

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
Plain text file DatabaseBackup.php Class Class source
Accessible without login Plain text file LICENSE.txt Lic. License
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:457
This week:1
All time:6,105
This week:560Up