Create an Account
username: password:
 
  MemeStreams Logo

Gmail, GPG, and Backups via Email

search

Lost
Picture of Lost
My Blog
My Profile
My Audience
My Sources
Send Me a Message

sponsored links

Lost's topics
Arts
Business
Games
Health and Wellness
Home and Garden
Miscellaneous
Current Events
Recreation
Local Information
Science
Society
Sports
Technology

support us

Get MemeStreams Stuff!


 
Gmail, GPG, and Backups via Email
Topic: Technology 3:00 pm EST, Mar  6, 2007

#!/bin/bash DATE=`date %F-%R`; BZFILE=/tmp/$DATE.sql.bz2; GPGFILE=$BZFILE.gpg; mysqldump --all-databases | bzip2 -c --best > $BZFILE; gpg --encrypt -r me@example.com $BZFILE; echo 'MySQL backup from abominus is attached' | mutt -a $GPGFILE \ -s '[backup] MySQL backup' self@gmail.com rm $GPGFILE;

Now I find it!

Gmail, GPG, and Backups via Email



 
 
Powered By Industrial Memetics
RSS2.0