#!/bin/sh # # $Id: vmail-snapshot.sh 344 2011-09-08 17:52:28Z rick $ # Poor mans virtual mailbox backup. # Rick van der Zwet TARGET=/usr/backup/`host -s`/vmailbackup/virtual.tar.gz mkdir -p $TARGET || exit 1 tar -C /var/mail -czf $TARGET virtual