close Warning: Can't use blame annotator:
No changeset 422 in the repository

source: tools/vmail-snapshot.sh@ 422

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

Avoid potential directory disaster.

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 224 bytes
RevLine 
1#!/bin/sh
2#
3# $Id: vmail-snapshot.sh 344 2011-09-08 17:52:28Z 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 || exit 1
10tar -C /var/mail -czf $TARGET virtual
11
Note: See TracBrowser for help on using the repository browser.