Click here to Skip to main content
15,898,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on the localhost and feeding some data in mysql database. I have installed mysql and php with wamp server. So, I want to take backup of my database daily. So, How can I do that?
Note: I don't want to take the backup of unnecessary files because I want to save the disk space. Only those files which contains my data of mysql database.
Posted
Updated 27-May-11 3:18am
v3
Comments
ZeeroC00l 27-May-11 9:10am    
And you want to do the backup using PHP ?
rashidfarooq 28-May-11 0:54am    
no, I don't want to do backup using php. If you can tell me, which files contains my data, I will copy these files to some save place.

1 solution

Use mysqldump — A Database Backup Program[^]. Schedule it to run via crontab (Unix) or Windows Scheduler in Windows.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900