4 d=`date "+%Y-%m-%d @ %H:%M:%S"`
5 backup="/etc/squidwall/backup/$d"
9 tar czf "$backup/$file.tar.gz" .
11 echo "==> backup of directory $dir is @ $backup"
16 # backup the configuration
17 test -d /etc/squidwall && \
18 back_it_up /etc/squidwall
20 # backup the webinterface
21 test -d /home/httpd/html/inet && \
22 back_it_up /home/httpd/html/inet
24 test -h /home/httpd/html/inet && \
25 back_it_up /home/httpd/html/inet
27 # backup the webinterface (was here in 0.2a)
28 test -d /home/httpd/html/inet-intern && \
29 back_it_up /home/httpd/html/inet-intern
33 Please adjust the new files and direcories in /etc/squidwall by hand ...