updated backup stuff
This commit is contained in:
parent
12afa485c0
commit
a8c16323ac
@ -11,16 +11,24 @@ SUFFIX = "$(NO_COLOR)"
|
|||||||
|
|
||||||
default: backup
|
default: backup
|
||||||
|
|
||||||
backup: clean
|
backup: clean mailoffsite databackup
|
||||||
|
|
||||||
|
dvbackup:
|
||||||
@echo $(PREFIX) $@ $(SUFFIX)
|
@echo $(PREFIX) $@ $(SUFFIX)
|
||||||
cd ~/Documents/datavibe/backup && make
|
cd ~/Documents/datavibe/backup && make
|
||||||
|
|
||||||
|
imapbackup:
|
||||||
offlineimap
|
offlineimap
|
||||||
rsync -e "ssh -c arcfour -o Compression=no -x" \
|
rsync -e "ssh -c arcfour -o Compression=no -x" \
|
||||||
-avPhzy --delete sneak@datavibe.net:.maildir/ \
|
-avPhzy --delete sneak@datavibe.net:.maildir/ \
|
||||||
$(HOME)/Documents/Archival/mail/sneak.datavibe.net.maildir/
|
$(HOME)/Documents/Archival/mail/sneak.datavibe.net.maildir/
|
||||||
|
|
||||||
|
mailoffsite: imapbackup
|
||||||
rsync -e "ssh -c arcfour -o Compression=no -x" \
|
rsync -e "ssh -c arcfour -o Compression=no -x" \
|
||||||
-avPhzy --delete $(HOME)/Documents/Archival/mail/ \
|
-avPhzy --delete $(HOME)/Documents/Archival/mail/ \
|
||||||
sneak@datavibe.net:.mailbackup/
|
sneak@datavibe.net:.mailbackup/
|
||||||
|
|
||||||
|
databackup: dvbackup imapbackup
|
||||||
backup.command
|
backup.command
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user