Batch File Example Code To Backup MySQL Database To A Particular Folder, Append Date and Time, Delete Backups Older Than X Days

Batch File Example Code To Backup MySQL Database To A Particular Folder, Append Date and Time, Delete Backups Older Than X Days
In this post we will see how to make a batch file to take backup of MySQL database (single database) to a particular folder on the same computer. As you may already know, there are various variants of mysqldump command. But for this exercise we will use this command:

mysqldump --routines -u<username> -p<password> <database name> > <output sql file name>

Simple Batch File to backup MySQL Database:
Read more »

Comments

Popular posts from this blog

Mi PC Suite and USB connection problems: not detected and need to update your device to use Mi PC Suite

How to create the simplest guestbook on WordPress [no plugin]?

Updating Android Froyo to Gingerbread on ZTE Blade/Dell XCD 35