Easily backup and restore MySQL databases from a php script.

This project is written with shared hosting in mind, that is: it doesn't rely on "exec" from Php or such commands that won't be allowed with most host providers.

This lightweight project is a php class for easy MySQL backup integration within your scripts.
Despite its ease of use, this project handles advanced settings such as foreign key constraints and backup upload to AWS S3.

You may adjust the backup / restore modes and database parameters from config file. A couple of example files are included for test.


  • Easy MySQL backup from php class
  • Restore MySQL backup from php class
  • Local (server) backup copy
  • Possible remote (Amazon S3) backup copy

Project Activity

See All Activity >




BSD License

Follow PhpBackup4MySQL

PhpBackup4MySQL Web Site

Other Useful Business Software

Discover Server and Application Network Dependencies Icon
Discover Server and Application Network Dependencies Icon

Discover and troubleshoot application dependencies to determine if it’s an application or network problem with SolarWinds Server & Application Monitor

Server and Application Monitor helps you discover application dependencies to help identify relationships between application servers. Drill into those connections to view the associated network performance such as latency and packet loss, and application process resource utilization metrics such as CPU and memory usage. Determine if process utilization or network performance is affecting the application and end-user performance.

Rate This Project

Login To Rate This Project

User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • Phpbackup4mysql is excellent! Thanks.

    1 user found this review helpful.
Read more reviews >

Additional Project Details

Intended Audience

Advanced End Users, Developers

Programming Language


Database Environment