projects
/
scripts
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
57f23cb
)
added mlist stuff to backups
author
hackbard
<hackbard>
Wed, 22 Jan 2003 17:28:11 +0000
(17:28 +0000)
committer
hackbard
<hackbard>
Wed, 22 Jan 2003 17:28:11 +0000
(17:28 +0000)
backup.sh
patch
|
blob
|
history
diff --git
a/backup.sh
b/backup.sh
index
56031d6
..
c6d36c7
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
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
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
# 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
echo "copying /chroot/$i"
tar -cf ./chroot/$i.tar /chroot/$i
done
+ tar -cf ./mlist-archive.tar /home/mlist/public_html
fi
fi