This python script will create a mysqldump file of your database and then upload a copy of it to an ftp server.