X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=backup.sh;h=3d92329df763035ea6a9cb0b37a11be35eb81a08;hb=5fd7e75115cbdebd09748684dedbfa67740f0cb9;hp=e8b7afe7a2d949afff35ae153931eae18b77277c;hpb=04f172eec17381b7f0236fc540e7542cd6ba8e92;p=scripts%2Fscripts.git diff --git a/backup.sh b/backup.sh index e8b7afe..3d92329 100755 --- a/backup.sh +++ b/backup.sh @@ -94,7 +94,7 @@ done for i in dhcpd.conf fstab hosts host.conf hosts.allow hosts.deny lilo.conf \ profile sendmail.cf resolv.conf exports fb.modes inetd.conf \ - xinetd.conf mp3user mp3db.conf modules.conf; do + xinetd.conf mp3user mp3db.conf modules.conf named.conf; do if [ -f /etc/$i ] ; then echo "copying /etc/$i" cp /etc/$i ./etc @@ -119,6 +119,12 @@ if [ "$host" = "gate" ] ; then cp -r /etc/mail ./etc fi + # mlsit procmail + if [ -d /home/mlist ] ; then + echo "copying mlist procmail config" + cp -r /home/mlist mlsit_pm_config + fi + # irc stuff mkdir -p ./ircd [ -f /etc/opt/unrealircd/unrealircd.conf ] && \ @@ -151,6 +157,12 @@ if [ "$host" = "right-hand" ] ; then tar -cf ./chroot/$i.tar /chroot/$i fi done + + mkdir ./named + if [ -d /var/named ] ; then + echo "copying dns data" + cp -r /var/named/* ./named + fi fi # hackstation / mobile / hdw / sparc specific data