如何在Localhost中备份Mysql数据库

问题描述:

我正在localhost上并在mysql数据库中提供一些数据.我已经安装了wamp服务器的mysql和php.因此,我想每天备份数据库.所以,我该怎么办?
注意:我不想备份不必要的文件,因为我想节省磁盘空间.仅那些包含我的mysql数据库数据的文件.

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.

使用 ^ ].安排它通过crontab(Unix)或Windows中的Windows Scheduler运行.
Use mysqldump — A Database Backup Program[^]. Schedule it to run via crontab (Unix) or Windows Scheduler in Windows.