Well, if your db goes over your mail quota per mail, it will bounce, filling up your servers's inbox.
I would recommend to just store the shell script outside your public html dir, and have a out of public html backups dir that you can access via ftp. And then just once a day or week download the backups and prune it's older content.