PHP Classes

PHP MySQL and PostgreSQL Database Dump Utility: Dump a MySQL or PostgreSQL database to an archive

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-10 (4 months ago) RSS 2.0 feedStarStarStar 56%Total: 381 All time: 6,722 This week: 78Up
Version License PHP version Categories
sql-dump 0.10MIT/X Consortium ...3.0PHP 5, Databases, Systems administration


This class can dump a MySQL or PostgreSQL database to an archive.

It can connect to a given MySQL or PostgreSQL database to check if the database access is correct.

Then it can dump the records of the database to a file using the mysqldump or pg_dump utility programs.

The class can compress the output using the gzip algorithm and store it in a file or serve it for download.

Picture of Kakhaber Kashmadze
Name: Kakhaber Kashmadze <contact>
Classes: 4 packages by
Country: Georgia Georgia
Age: 50
All time rank: 21262 in Georgia Georgia
Week rank: 298 Up1 in Georgia Georgia Up
Innovation award
Innovation award
Nominee: 1x


Sql dump utility for MySQL and PostgreSQL Databases

Dump Database from MySQL or PostgreSQL.

See example.php

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file LICENSE Lic. License Text
Accessible without login Plain text file Data Auxiliary data
Plain text file SqlDump.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,722
This week:78Up
 User Ratings  
 All time