]> arthur.barton.de Git - backup-script.git/blob - bin/backup-script-wrapper
Add /run to hardcoded exclude list
[backup-script.git] / bin / backup-script-wrapper
1 #!/bin/sh
2 #
3 # backup-script system for cloning systems using rsync
4 # Copyright (c)2008-2011 Alexander Barton, alex@barton.de
5 #
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10 # Please read the file COPYING, README and AUTHORS for more information.
11 #
12
13 MAILTO="logcheck"
14
15 NAME="backup-script"
16 HOST=`hostname`
17 TMP="/tmp/$NAME.$$"
18
19 backup-script $* >$TMP 2>&1
20
21 cat $TMP | mail -s "$HOST: $NAME results" "$MAILTO"
22
23 rm -f $TMP
24
25 # -eof-