Last change
on this file since 354 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
|
Rev | Line | |
---|
[215] | 1 | #!/bin/sh
|
---|
| 2 | #
|
---|
[216] | 3 | # $Id: vmail-snapshot.sh 344 2011-09-08 17:52:28Z rick $
|
---|
[215] | 4 | # Poor mans virtual mailbox backup.
|
---|
| 5 | # Rick van der Zwet <info@rickvanderzwet.nl>
|
---|
| 6 |
|
---|
| 7 |
|
---|
[343] | 8 | TARGET=/usr/backup/`host -s`/vmailbackup/virtual.tar.gz
|
---|
[344] | 9 | mkdir -p $TARGET || exit 1
|
---|
[215] | 10 | tar -C /var/mail -czf $TARGET virtual
|
---|
| 11 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.