Hi Dhuruv,
You can take the backup of all databases through one single command at the shell prompt.
Go to Start - >Run and then type cmd.
When the comman prompt window is display, type in the below give command.
shell> mysqldump -u<username> -p<password> --all-databases > D:/<filename>.sql
NOTE:
1. Replace <username> with the username of MySQL - Or you can pass root
2. Replace <password> with the password to your MySQL
3. Replace <filename> with the name you want to give to this file.
This command will generate an SQL script file in the location specified by you.
At the required time you can import the exported SQL script file as and when required.
Hope this helps.