diff --git a/fetch-backup-work b/fetch-backup-work index 68a5a9a8ba2bd4272ad8b1ff19917b08d84d5005..3c2651e88098ada77f2d0ca5d2871e73a7938b63 100755 --- a/fetch-backup-work +++ b/fetch-backup-work @@ -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 stalhein.lysator.liu.se ypcat -k auto_home \ +ssh bacon.lysator.liu.se ypcat -k auto_home \ | sort \ | grep -v DELETE \ | grep -v membership_expired \ @@ -85,16 +85,18 @@ ssh ftp 'bash -c "cd /export/ftp/pub && ls -1 | while read d ; do [ -d "\$d" ] & $1 == "debian" { next } $1 == "ubuntu" { next } $1 == "CentOS" { next } + $1 == "centos" { next } $1 == "debian-cd" { next } + $1 == "debian-backports" { next } + $1 == "debian-security" { 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 - +#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 medreg /var/lib/mysql-dump >> $NT