Hi again!!I wanted to know that is it possible to backup the mysql database just by running query?I am trying to find out the code so that if a user clicks backup button, the whole database will be stored somewhere.
anita_86
14
Light Poster
Recommended Answers
Jump to PostSELECT INTO OUTFILE does not export the database structure. Also it's a nightmare to handle outfile names with it.
For on-demand backup write a shell script which does the backup using the mysqldump program and make it accessible via your HTML interface.
All 2 Replies
Reply to this topic
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.