Home / Uncategorized / 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

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 �

About Tanveer

Check Also

Seven Alternatives to the Official Facebook Application

Seven Alternatives to the Official Facebook Application   If we asked Android users to which application they have more mania, probably Facebook would take the cake. In the beginning, it was very slow and heavy, and after many years of tireless effort of its engineers, now it can be said that it is simply heavy. …

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Partner links

  • UA-105717619-1