Last change
on this file since 367 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
|
Line | |
---|
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 |
|
---|
8 | TARGET=/usr/backup/`host -s`/vmailbackup/virtual.tar.gz
|
---|
9 | mkdir -p $TARGET || exit 1
|
---|
10 | tar -C /var/mail -czf $TARGET virtual
|
---|
11 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.