diff --git a/ChangeLog b/ChangeLog index 3b4d810b78be80ce08e02238155641253e3422e9..8e8dcb5c413f032653e66d2db6ddb29250287f06 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/fetch-backup-work b/fetch-backup-work index 11ce75fd999add6e0ff2b7ac27981d14e5687244..341e11a0e8317a371c0e816e86cd3fd2e20371af 100755 --- a/fetch-backup-work +++ b/fetch-backup-work @@ -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