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

Updated fetch-backup-work for Lysator somewhat.

parent 9a610275
......@@ -64,8 +64,7 @@ ssh stalhein.lysator.liu.se ypcat -k auto_home \
#| awk '{ print "quota1", $1, "home", "/export/users/quota1/" $1 }' \
#| sort >> $NT
echo lyskom kom compulsion /export/mdsk2/sw_lyskom_compulsion \
>> $NT
echo lyskom kom obsession /home/kom >> $NT
echo perlis etc perlis /etc >> $NT
echo perlis var perlis /var >> $NT
......@@ -79,8 +78,8 @@ ssh poseidon 'cd /var/repositories && ls -1 | while read d ; do [ -d "$d" ] && [
| awk '{ print "lyssvn", $1, "poseidon", "/var/repositories/" $1 }' \
| sort >> $NT
echo kelvin root kelvin / >> $NT
echo kelvin var kelvin /var >> $NT
echo celsius root celsius / >> $NT
echo celsius var celsius /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 }
......@@ -118,8 +117,8 @@ echo dijkstra root dijkstra / >> $NT
echo dijkstra boot dijkstra /boot >> $NT
# eureka
echo eureka etc eureka /etc >> $NT
echo eureka admin eureka /pikedata/eureka-admin >> $NT
#echo eureka etc eureka /etc >> $NT
#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