Bash script to backup a MySQL RDS dump to S3

This post has been updated:

Amazon RDS has nice backup plan in place but you don't have access to these and its a good pratice to store a "dump" yourself. This simple script does that by running MySQLDump via CRON to get the data out of the RDS, GZips it up, and stores it on S3.