mysql

Quick and Dirty MySQL backup from BASH

Yet another thing I hate to do by hand is create backups of my database on demand. I hate giving them names, and I hate typing out a long linux command to get it done. However, when upgrading to a new version of drupal, or making any big system change, it's important to have a working database backup.

Our savior, yet again, is a function written to our .bashrc file.