– notes, snippet codes, and my journal

Backup Mysql Database

leave a comment »

[ Window ] Backup MySql using script :

Automating It All

Linux has cron, Windows has at. The at command schedules commands to run as often as you’d like. In this case, we’re going to run the backup one day a week at 2 AM.

Open up the command prompt and type the following:

at 02:00 /every:M,T,W,Th,F,S,Su c:\path\mysql-backup.bat

Once you run this, it should return “Added a new job with job ID = X”

Type at to make sure that it’s in the schedule.

ref :


Written by snippetjournal

June 26, 2015 at 3:15 am

Posted in Collection Link

Tagged with , , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: