Tag: rsync

Hourly Backup Script for Email

So I was working on a script a while ago to backup all my email on my Linux box. I put together a fairly simple bash script to delve into home directories and pick out the Maildir and back it up. Great! DRIVE=”/dev/sdb1″ HOME=”/home/” LIST=”/tmp/backlist_$$.txt” # mount $DRIVE /backup set $(date) for DIR in `find /home/ -name “Maildir” -print`; do… Read more →