PHP Classes

PHP MySQLi Database Backup: Take MySQL database backups generating SQL

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 458 All time: 6,104 This week: 56Up
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: 2434144 in India India
Week rank: 48 Up7 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 (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:458
This week:0
All time:6,104
This week:56Up