MySQL Backup script

Download Latest version 1.2: BackupMySQLFull.bat
About A DOS batch script (runs under Windows 2000 / XP / 2003) to backup your MySQL databases, zip them, encrypt the zip and mail the encrypted file if it is not too large. A copy of the backup is kept on your server. This script is meant to be run automatically on a production server (that's how it is in use today)

You can have the script up and running in about 10 minutes. See the instructions at the top of the file.

The script requires some external software, all of which is freeware:
  • ZipGenius is used to zip the databases and encrypt the zipfile.
  • doff is used to prefixes the filename with today's date.
  • blat, an emailer tool. Is used to send the email.

If you want to run this script this script daily but don't know how: use the Windows Scheduler ( Start->Control Panel->Scheduled Tasks )
License This script is free for any use provided the copyright message is retained. You are free to modify this script in any way you see fit. If you add a helpful feature I would appreciate a patch but you are under no obligation to do so.
Terms of use Terms of use
This script is provided AS IS and without any warranty. I am not responsible for your backups.
Questions Questions? Suggestions? Drop me an email at mathieu@jijenik.com