I want to backup my database in MySQL(which is on my local pc) everyday, so I am using Task Scheduler of Windows7 to run this command everyday:
mysqldump -u root -p pwd mydbname > backup-2014-06-10.sql
But the problem is the .sql file's name cannot be dynamically specified based on the date of executing.
Is there any way to solve that?
Thanks in advance!