projects
/
clearscm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added code for Macs
[clearscm.git]
/
bin
/
backupEmail.sh
1
#!/bin/bash
2
#
3
# Simple script to backup email store
4
backupDir=/System/Backups/Email
5
6
exclusions=--exclude=.*
7
8
ssh defaria.com tar $exclusions -cjf - mail > $backupDir/mail.tar.bz2.$$
9
10
mv $backupDir/mail.tar.bz2.$$ $backupDir/mail.tar.bz2