Skip to content
Snippets Groups Projects
Commit 7134b710 authored by Per Jonsson's avatar Per Jonsson Committed by Per Cederqvist
Browse files

Updated the config for Lysator

* fetch-backup-work: Remove backups of lenin and kilauea. Fetch
  stuff from stalhein instead of retired koeberg.
parent df0538ac
No related branches found
No related tags found
No related merge requests found
2009-10-25 Per Jonsson <poj@minerva.lkpg.dravejk.net>
Updated the config for Lysator
* fetch-backup-work: Remove backups of lenin and kilauea. Fetch
stuff from stalhein instead of retired koeberg.
2009-09-23 Per Cederqvist <ceder@ryttargardskyrkan.se>
Initial support for restoring backups.
......
......@@ -27,7 +27,7 @@ ssh uhumhummy ls -1 /lysator/lyswww/users/roxen_only \
| awk '{print "roxen", $1, "uhumhummy /lysator/lyswww/users/roxen_only/" $1}'\
>> $NT
ssh koeberg.lysator.liu.se ypcat -k auto_home \
ssh stalhein.lysator.liu.se ypcat -k auto_home \
| sort \
| grep -v DELETE \
| grep -v '^ *$' \
......@@ -59,7 +59,7 @@ ssh koeberg.lysator.liu.se ypcat -k auto_home \
| sed 's/^/home /' \
>> $NT
ssh koeberg.lysator.liu.se 'cd /home/quota1 && ls -1 | while read d ; do [ -d "$d" ] && [ ! -L "$d" ] && echo "$d" ; done' \
ssh stalhein.lysator.liu.se 'cd /home/quota1 && ls -1 | while read d ; do [ -d "$d" ] && [ ! -L "$d" ] && echo "$d" ; done' \
| awk '{ print "quota1", $1, "home", "/export/users/quota1/" $1 }' \
| sort >> $NT
......@@ -85,13 +85,6 @@ 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
# Mail
echo bernadotte var-log bernadotte /var/log >> $NT
echo bernadotte var-spool-postfix bernadotte /var/spool/postfix >> $NT
......@@ -102,10 +95,6 @@ ssh bernadotte 'cd /home && ls -1 | while read d ; do [ -d "$d" ] && [ ! -L "$d"
| awk '{ print "mail", $1, "bernadotte", "/home/" $1 }' \
| sort >> $NT
# Datorhandbok.
echo kilauea root kilauea / >> $NT
echo kilauea boot kilauea /boot >> $NT
# lysrdiff.
echo shafan root shafan / >> $NT
echo shafan boot shafan /boot >> $NT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment