Quick and Dirty MySQL Backup for everyone

The ‘script’

When you just need a simple backup of all your databases, this three lines will do the job for you.

How to use it

Just save it to a file and run it as a cron every night

and you get a zipped dump of every database with a timestamp.

It is easy extendable, if you want to exclude a database just write it into the grep regex

Have fun! 🙂

Leave a Reply

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