added dropbox email backup

This commit is contained in:
Jeffrey Paul 2014-01-30 07:27:57 +01:00
parent 711e5982da
commit 4625f5eae5
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@ mailoffsite: imapbackup
rsync -e "ssh -c arcfour -o Compression=no -x" \ rsync -e "ssh -c arcfour -o Compression=no -x" \
-avPhzy --delete-after $(HOME)/Documents/Archival/mail/ \ -avPhzy --delete-after $(HOME)/Documents/Archival/mail/ \
sneak@datavibe.net:.mailbackup/ sneak@datavibe.net:.mailbackup/
tar -xvf $(HOME)/Documents/Archival/mail/jp.eeqj.com | gzip > \
$(HOME)/Documents/Dropbox/eeqj/archives/mail.tgz.new && \
mv $(HOME)/Documents/Dropbox/eeqj/archives/mail.tgz.new \
$(HOME)/Documents/Dropbox/eeqj/archives/mail.tgz
databackup: dvbackup imapbackup databackup: dvbackup imapbackup
backup.command backup.command