How to take backup the database using PHP

Recommended Answers

All 2 Replies

Hello Mr. Mehta,

You want to know that how to take a database back using PHP and following are some way to do perform this act:

* Execute a database backup query from PHP file.
* Run mysqldump using system() function.
* Use phpMyAdmin to do the backup.

If you have any problem regarding how to use this then please go through the below link:

http://www.php-mysql-tutorial.com/wikis/mysql-tutorials/using-php-to-backup-mysql-databases.aspx

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.