Added support for backing up all databases on server with mysql root account, and new mode parameter backup-all-databases
Optionally backs up data and internal_data directories (suggested by craigiri) with configurable locations -- this is enabled by default, and assumes they are sibling to your library directory
Added data-only mode parameter to optionally back up just the data directories -- useful for backing up data at different times or in different intervals than your database
Optionally combines data and internal_data into the same gzipped tar archive -- this avoids a warning from tar regarding parent directories, and is enabled by default
Optionally creates database backup directory for you if it does not exist -- this is enabled by default
Now includes --single-transaction in the mysql query (suggested by Coop1979), which should be run much smoother on big boards where you don't want to be locking a bunch of tables
includes various other stability tweaks to the MySQL commands
changed inner functioned to be more module-oriented -- this makes the script more efficient