Create Backup / Restore Database using PHP

Language

In this project we are going to learn how to create backup database and Download or Restore in sql file using PHP. Instructions: Choose and upload a file to your system or project, then you can click the RESTORE DATABASE button to restore the database file or you can click the BACKUP DATABASE button to backup and store the sql file in the folder named backup. Upload only sql database file. This can be very useful to your project or system. Feel free to download and use this file to your project or system. Happy Coding :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Submitted bykingwashon Fri, 02/26/2016 - 22:16

Good project, but i found some problems with it. It can not restore database successfully when tables are referencing other tables in the same database (FOREIGN KEY CONSTRAINT). Can you please look at it. Thanks
Submitted byAndrea A. (not verified)on Tue, 07/20/2021 - 13:43

I have a request please answer me baaaack I just need one thing for this and my project will be done

Add new comment