]> hackdaworld.org Git - scripts/scripts.git/commitdiff
added mlist stuff to backups
authorhackbard <hackbard>
Wed, 22 Jan 2003 17:28:11 +0000 (17:28 +0000)
committerhackbard <hackbard>
Wed, 22 Jan 2003 17:28:11 +0000 (17:28 +0000)
backup.sh

index 56031d6405f8320deea59b4f5b0ce0b072ca1ca5..c6d36c771498e71578594e17434400db8df4d7c8 100755 (executable)
--- a/backup.sh
+++ b/backup.sh
@@ -147,11 +147,12 @@ cd ${backup_dir}/${host}-backup-${backup_date}
 if [ "$host" = "gate" ] ; then
        
        # minimalist and mail stuff
-       mkdir -p minimalist_spool mail_admin mail_hackbard 
+       mkdir -p minimalist_spool mail_admin mail_hackbard mail_mlist
        echo "copying minimalist and mail stuff"
        cp -r /opt/minimalist/spool/* ./minimalist_spool
        cp -r /home/hackbard/* ./mail_hackbard
        cp -r /home/admin/* ./mail_admin
+       cp /var/mail/mlist ./mail_mlist
 
        # www and cvs stuff
        mkdir chroot
@@ -159,6 +160,7 @@ if [ "$host" = "gate" ] ; then
                echo "copying /chroot/$i"
                tar -cf ./chroot/$i.tar /chroot/$i
        done
+       tar -cf ./mlist-archive.tar /home/mlist/public_html
 
 fi