Bash shell file for daily database backup - Run as CRON job

#/bin/bash
/usr/bin/mysqldump --user=DB_USER --password='DB_PASSWORD'  --databases DB_NAME | gzip > /path/to/backup/DB_NAME-`date +%Y%m%d%H%M`.sql.gz
find /path/to/backup -name "*.gz" -mtime +60 -exec /bin/rm {} \;