PDA

View Full Version : PHP CLASS to backup your mysql and restore it



astkboy2008
January 9th, 2010, 09:57 AM
What is IAM Backup 1.2

IAM Backup is package made of two classes. One performs the backup of the selected MySQL database, and the second restores the database. Both classes support gzip-compressed files for improved performance. When performing the backup, the user is prompted to download the backup file, straight from the browser. Alternatively, the backup can be stored on the local server at a predefined location. Restoring the database (or copying it to another server) is just as easy
download it as zip archive

examples


restore_example.php [1.89 KB] (http://www.jooria.com/view/file/468/0)
backup_example.php [4.74 KB] (http://www.jooria.com/view/file/468/1)
ex_many_at_once.php [2.41 KB] (http://www.jooria.com/view/file/468/2)

iam_backup-1.2.zip [8.21 KB] (http://www.jooria.com/downloads/468/iam_backup-1.2.zip)
or veiw it without download


iam_backup.php [13.15 KB] (http://www.jooria.com/view/file/468/3)
iam_restore.php [3.68 KB] (http://www.jooria.com/view/file/468/4)

slavik
January 9th, 2010, 09:59 AM
phpMyAdmin can do this as well.

astkboy2008
May 30th, 2010, 02:52 PM
yes but when you want to make that in your admin cp you will need that