X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=backup.sh;h=70e667af5f4be0c41499d174b1b6dc2444f29ab8;hb=12db6e2dc403c60f5466c945a0d6a5e257a8ac9e;hp=4a3ff0aa393925940accd2ad233c04eb30e4d2ee;hpb=198af925468efff8abee800d337cbe946390e143;p=scripts%2Fscripts.git diff --git a/backup.sh b/backup.sh index 4a3ff0a..70e667a 100755 --- 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