Commit 4b093966 authored by Per Jonsson's avatar Per Jonsson Committed by Per Cederqvist
Browse files

Updated the config for Lysator.

* fetch-backup-work: For mail, backup from bernadotte instead of
  lenin.
parent 0b9d6a06
2008-12-04 Per Jonsson <poj@lysator.liu.se>
Updated the config for Lysator.
* fetch-backup-work: For mail, backup from bernadotte instead of
lenin.
2008-09-25 Per Cederqvist <ceder@shafan.lysator.liu.se>
Updated the config for Lysator.
......
......@@ -85,15 +85,21 @@ ssh hanna 'cd /export/hanna/ftp/pub && ls -1 | while read d ; do [ -d "$d" ] &&
echo medreg sqldump wrath /var/lib/mysql-dump >> $NT
# Tidigare Mail
echo lenin root lenin / >> $NT
echo lenin var lenin /var >> $NT
echo lenin var-log lenin /var/log >> $NT
echo lenin var-spool-postfix lenin /var/spool/postfix >> $NT
echo lenin var-lib-mailman lenin /var/lib/mailman >> $NT
ssh lenin 'cd /home && ls -1 | while read d ; do [ -d "$d" ] && [ ! -L "$d" ] && echo "$d" ; done' \
# Mail
echo bernadotte var-log bernadotte /var/log >> $NT
echo bernadotte var-spool-postfix bernadotte /var/spool/postfix >> $NT
echo bernadotte var-lib-mailman bernadotte /var/lib/mailman >> $NT
ssh bernadotte 'cd /home && ls -1 | while read d ; do [ -d "$d" ] && [ ! -L "$d" ] && echo "$d" ; done' \
| grep -v DELETE \
| awk '{ print "mail", $1, "lenin", "/home/" $1 }' \
| awk '{ print "mail", $1, "bernadotte", "/home/" $1 }' \
| sort >> $NT
# Datorhandbok.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment