From: hackbard Date: Wed, 22 Jan 2003 17:28:11 +0000 (+0000) Subject: added mlist stuff to backups X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd1d9383fc56c0aa8ab2ac14a5974baab277be49;p=scripts%2Fscripts.git added mlist stuff to backups --- diff --git a/backup.sh b/backup.sh index 56031d6..c6d36c7 100755 --- 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