another bugfix
[scripts/scripts.git] / backup.sh
index 4a3ff0a..70e667a 100755 (executable)
--- a/backup.sh
+++ b/backup.sh
@@ -118,7 +118,7 @@ if [ "$host" = "gate" ] ; then
        # irc stuff 
        mkdir -p ./ircd
        [ -f /etc/opt/unrealircd/unrealircd.conf ] && \
-               cp /etc/opt/unrealircd/unrealircd.conf ./irc
+               cp /etc/opt/unrealircd/unrealircd.conf ./ircd
 fi
 
 # data stuff
@@ -136,12 +136,6 @@ if [ "$host" = "gate" ] ; then
                echo "copying mail stuff"
                cp /var/mail/$i ./mail_$i
        done
-
-               echo "copying /chroot/$i"
-               tar -cf ./chroot/$i.tar /chroot/$i
-       done
-       tar -cf ./mlist-archive.tar /home/mlist/public_html
-
 fi
 
 # right-hand data
@@ -153,8 +147,6 @@ if [ "$host" = "right-hand" ] ; then
                        tar .cf ./chroot/$i.tar /chroot/$i
                fi
        done
-       
-       
 fi
 
 # hackstation / mobile / hdw / sparc specific data