WP Backup Shell Script After Photomatt’s recent calls for backup, I am going to have to use Geoff’s excellent backup scripts. I might modify them to send me an email with the files as attachments and setup a cron builder to task it every sunday. Add this to tons of stuff to do this weekend! If people are interested in the email part, release the script.
I would be really keen on this enhancement! I love the backup script as it stands, but a weekly email would be fantastic!
yeah, a email backup would impress the hell out of me (and my clients!)
Mark, how are you thinking about mailing this out? I’m still a shell scripting newbie…
It can get complicated with MIME encoded attachments, but fortunately for us shell scripters, someone, somewhere has thought of it before 🙂
http://home.clara.net/dwotton/unix/mail_files.txt
Or, even simpler (which I forgot)
cat file_name | uuencode filename | mail -s “subject” test@example.com
Replace the variables with info from the shell script.
I’ve love something like this!