Login   Register  
PHP Classes
elePHPant
Icontem

cDBbackup

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Archzilon Eshun-Davies
Name: Archzilon Eshun-Davies is available for providing paid consulting. Contact Archzilon Eshun-Davies .
Packages: 7 Browse all classes by Archzilon Eshun-Davies Browse all classes by
Country: Ghana Ghana - PHP jobs in Ghana
Age: 26
All time rank: 11711 in Ghana Ghana
Week rank: 190 Up1 in Ghana Ghana Equal
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class can generate PHP scripts that are MySQL backups.

It connects to a given MySQL server and extracts the list of all databases.

The class generates a PHP script with commands to execute queries that recreate the database tables and insert the records with the current values.

The generated backup PHP script is stored in a given file.

  Classes of Archzilon Eshun-Davies  >  cDBbackup  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: cDBbackup
Base name: cdbbackup
Description: Generate PHP scripts that are MySQL backups
Version: 1.1
PHP version: 5.0
License: BSD License
All time users: 707 users
All time rank: 4027
Week users: 3 users
Week rank: 923 Up
 
  Groups   Freshmeat project   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Systems administration System configuration and management View top rated classes
Group folder image Code Generation Compilers and tools that generate code automatically View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
February 2012
Number 2

Prize: One yearly subscription to the PHP Solutions magazine
A common way to generate a backup of a database is to generate a file with the necessary SQL statements to recreate the database tables and their records.

This class provides a variant of that approach that consists on generating a script file with PHP commands, so if you want to restore the database you just need to execute the generated PHP script.

Manuel Lemos

  Freshmeat project  
Project record: cdbbackup
Popularity score: 19.87
Vitality score: 21.46

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file cron.php Example Example Usage
Plain text file cDBbackup.php Class The MySQL Backup Class
Accessible without login Plain text file license Lic. OpenBSD License

Download all files: cdbbackup.tar.gz cdbbackup.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.