Sunday, November 8, 2015

XAMPP : Automate MySQL database backup

Well, this is a simple script that allow you to backup MySQL database on Windows. I just ripped off several code on internet and make my own version. Such a script kiddie, huh? Wait, If you let this script run with Windows Task Scheduler in certain time, it will be automate MySQL database backup, Wohaa. Read this beruk bodo as you references. Plus, this script use 7zip to compress the SQL file which quite useful to save the our precious disk usage (Download here). Change thus variable (at line 11-16) with you own setting, before execute this script. Each backup are saved in separated directory, sort by date and time during backup process ..That all, K..bye!

No comments:

Post a Comment