projects
/
scripts
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
04f172e
)
added dns config stuff for backup
author
hackbard
<hackbard>
Thu, 18 Sep 2003 23:53:03 +0000
(23:53 +0000)
committer
hackbard
<hackbard>
Thu, 18 Sep 2003 23:53:03 +0000
(23:53 +0000)
backup.sh
patch
|
blob
|
history
diff --git
a/backup.sh
b/backup.sh
index
e8b7afe
..
ebf8c16
100755
(executable)
--- 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 \
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
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
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
fi
# hackstation / mobile / hdw / sparc specific data