Databases: MySQL DB Backup
Luis Arturo Aguilar Mendoza (contact me)
The class can be used to create backup files of MySQL databases in the form of lists of SQL statements that can be executed to restore the database.
This is a new version of a class originally written by Vagharshak Tozalakyan to use much less memory.
It can store the backup data in compressed or uncompressed files directly, instead of concatenating the whole data in a text string, thus avoiding to use too much memory when taking backups of large databases.
It can also return the backup data as a single uncompressed string, but this way it may exceed the PHP memory limit.
Click here for detailed information about this class on phpclasses.org