New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
There isn't going to be a script that meets your exact needs, however Bash is quite simple and you should be able to cobble one together.
Sending a backup as an email attachment is a very poor idea, you should be uploading it offsite via SCP or rsync ideally.
I'll get you started:
Now you just need to dump your databases and send the files offsite.
Dump mysql and tar evry directory you need backuped and use something line ssmtp ( http://www.lowendguide.com/3/email/low-memory-usage-smtp-send-only/) to send the file.
Make sure that the total size of the email isn't larger then what your mail provider can accept.