Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LYSrdiff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lysator
LYSrdiff
Commits
7d5e351e
Commit
7d5e351e
authored
10 years ago
by
Sebastian Thorarensen
Browse files
Options
Downloads
Patches
Plain Diff
Update the config for Lysator
fetch-backup-work: Remove some old servers and add some new ones.
parent
5b1c7f99
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+7
-1
7 additions, 1 deletion
ChangeLog
fetch-backup-work
+11
-24
11 additions, 24 deletions
fetch-backup-work
with
18 additions
and
25 deletions
ChangeLog
+
7
−
1
View file @
7d5e351e
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>
...
...
This diff is collapsed.
Click to expand it.
fetch-backup-work
+
11
−
24
View file @
7d5e351e
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment