Commit adcb9aac authored by Joakim Tosteberg's avatar Joakim Tosteberg Committed by Per Cederqvist
Browse files

Updated the config for Lysator

* fetch-backup-work: Updated filtering of data for our public ftp
  mirrors. Added ftp-home.
parent 2783cdc5
2011-04-25 Joakim Tosteberg <joakim_tosteberg@lysator.liu.se>
Updated the config for Lysator
* fetch-backup-work: Updated filtering of data for our public ftp
mirrors. Added ftp-home.
2011-02-15 Per Cederqvist <ceder@ryttargardskyrkan.se>
Updated the config for Ryttargardskyrkan.
......
......@@ -60,9 +60,9 @@ ssh stalhein.lysator.liu.se ypcat -k auto_home \
| sed 's/^/home /' \
>> $NT
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
#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
echo lyskom kom compulsion /export/mdsk2/sw_lyskom_compulsion \
>> $NT
......@@ -83,10 +83,21 @@ echo kelvin root kelvin / >> $NT
echo kelvin var kelvin /var >> $NT
ssh ftp 'bash -c "cd /export/ftp/pub && ls -1 | while read d ; do [ -d "\$d" ] && [ ! -L "\$d" ] && echo "\$d" ; done"' \
| awk '$1 == "FreeBSD" { next }
$1 == "debian" { next }
$1 == "ubuntu" { next }
$1 == "CentOS" { next }
$1 == "debian-cd" { next }
$1 == "ubuntu-dvd" { next }
$1 == "ubuntu-releases" { next }
$1 == "archlinux" { next }
{ print "ftp-pub", $1, "ftp", "/export/ftp/pub/" $1 }' \
| sort >> $NT
ssh ftp 'bash -c "cd /export/ftp/home && ls -1 | while read d ; do [ -d "\$d" ] && [ ! -L "\$d" ] && echo "\$d" ; done"' \
| awk '{ print "ftp-home", $1, "ftp", "/export/ftp/home/" $1 }' \
| sort >> $NT
echo medreg sqldump wrath /var/lib/mysql-dump >> $NT
echo medreg sqldump medreg /var/lib/mysql-dump >> $NT
# Mail
echo bernadotte var-log bernadotte /var/log >> $NT
......@@ -108,7 +119,7 @@ echo dijkstra boot dijkstra /boot >> $NT
# eureka
echo eureka etc eureka /etc >> $NT
echo eureka admin eureka /pikedata/eureka-admin
echo eureka admin eureka /pikedata/eureka-admin >> $NT
#ssh eureka 'cd /pikedata/homes && /bin/ls -1d */* | sed "s%/% %" | while read zone user; do [ -d "$zone/$user" ] && [ ! -L "$zone" ] && [ ! -L "$zone/$user" ] && echo eureka-home $zone--$user eureka /pikedata/homes/$zone/$user ; done ' \
#| sort >> $NT
......
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