From 026d55d4612eea2a125797446e6e478ab592f3d1 Mon Sep 17 00:00:00 2001 From: hackbard Date: Thu, 18 Sep 2003 23:53:03 +0000 Subject: [PATCH] added dns config stuff for backup --- backup.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index e8b7afe..ebf8c16 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 @@ -151,6 +151,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 -- 2.20.1