Commit 7d5e351e authored by Sebastian Thorarensen's avatar Sebastian Thorarensen
Browse files

Update the config for Lysator

fetch-backup-work: Remove some old servers and add some new ones.
parent 5b1c7f99
2014-10-15 Sebastian Thorarensen <sebth@lysator.liu.se>
Updated the config for Lysator.
* fetch-backup-work: Remove some old servers and add some new
ones.
2014-05-13 Sebastian Thorarensen <sebth@lysator.liu.se>
Updated the config for Lysator.
* fetch-backup-work: Don't try to backup regular files and
symlinks for lyswww-projects-roxen.
symlinks for lyswww-projects-roxen.
2014-03-20 Sebastian Thorarensen <sebth@lysator.liu.se>
......
......@@ -5,18 +5,6 @@ NT=$TASKS.tmp
rm -f $NT
ssh plantagenet ls -1 /svnroot \
| sort \
| awk '$1 == "lost+found" { next }
{print "lsvn", $1, "plantagenet /svnroot/" $1}' \
>> $NT
ssh plantagenet ls -1 /cvsroot \
| sort \
| awk '$1 == "lost+found" { next }
{print "lyscvs", $1, "plantagenet /cvsroot/" $1}' \
>> $NT
ssh nyarlathotep ls -1 /srv/www/users \
| sort \
| awk '{print "lyswww-users", $1, "nyarlathotep /srv/www/users/" $1}' \
......@@ -69,10 +57,6 @@ ssh bacon.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
echo lyskom kom obsession /home/kom >> $NT
echo perlis etc perlis /etc >> $NT
......@@ -80,12 +64,12 @@ echo perlis var perlis /var >> $NT
echo perlis home perlis /home >> $NT
echo perlis root perlis / >> $NT
echo poseidon var poseidon /var >> $NT
echo poseidon root poseidon /root >> $NT
ssh poseidon 'cd /var/repositories && ls -1 | while read d ; do [ -d "$d" ] && [ ! -L "$d" ] && echo "$d" ; done' \
| grep -v '^snes9x-rediffbackup$' \
| awk '{ print "lyssvn", $1, "poseidon", "/var/repositories/" $1 }' \
| sort >> $NT
#echo poseidon var poseidon /var >> $NT
#echo poseidon root poseidon /root >> $NT
#ssh poseidon 'cd /var/repositories && ls -1 | while read d ; do [ -d "$d" ] && [ ! -L "$d" ] && echo "$d" ; done' \
#| grep -v '^snes9x-rediffbackup$' \
#| awk '{ print "lyssvn", $1, "poseidon", "/var/repositories/" $1 }' \
#| sort >> $NT
echo thestral root thestral / >> $NT
echo thestral opt thestral /opt >> $NT
......@@ -137,13 +121,16 @@ echo shafan root shafan / >> $NT
echo shafan boot shafan /boot >> $NT
# ejabberd
echo dijkstra root dijkstra / >> $NT
echo dijkstra boot dijkstra /boot >> $NT
#echo tanenbaum root tanenbaum / >> $NT
# eureka
#echo eureka etc eureka /etc >> $NT
#echo eureka admin eureka /pikedata/eureka-admin >> $NT
# gluten (gitlab)
echo gluten etc gluten /etc >> $NT
echo gluten repos gluten /var/opt/gitlab/backups >> $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