source: tools/vmail-snapshot.sh@ 343

Last change on this file since 343 was 343, checked in by Rick van der Zwet, 13 years ago

Create new backup environment.

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 214 bytes
Line 
1#!/bin/sh
2#
3# $Id: vmail-snapshot.sh 343 2011-09-08 17:47:48Z rick $
4# Poor mans virtual mailbox backup.
5# Rick van der Zwet <info@rickvanderzwet.nl>
6
7
8TARGET=/usr/backup/`host -s`/vmailbackup/virtual.tar.gz
9mkdir -p $TARGET
10tar -C /var/mail -czf $TARGET virtual
11
Note: See TracBrowser for help on using the repository browser.