X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=backup.sh;h=3d92329df763035ea6a9cb0b37a11be35eb81a08;hb=e318a0c9b9f56b0b4aef2d5c14a9e22a1843975b;hp=1a1ebc86d6941c0abb20acfccc01f33701606e61;hpb=d3d8d91ee8fbc0715495bc70388eec68273bb4e3;p=scripts%2Fscripts.git diff --git a/backup.sh b/backup.sh index 1a1ebc8..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; 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