From 9d360f2f7ff8c783dedb5b68ae35e97a08ebd6c3 Mon Sep 17 00:00:00 2001
From: Sebastian Thorarensen <sebth@lysator.liu.se>
Date: Thu, 20 Mar 2014 12:04:41 +0000
Subject: [PATCH] Updated the config for Lysator.

* fetch-backup-work: Add backup of new web server.
---
 ChangeLog         |  5 +++++
 fetch-backup-work | 28 ++++++++++++----------------
 2 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 286d2aa..4b097bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-20  Sebastian Thorarensen  <sebth@lysator.liu.se>
+
+	Updated the config for Lysator.
+	* fetch-backup-work: Add backup of new web server.
+
 2014-01-24  Sebastian Thorarensen  <sebth@lysator.liu.se>
 
 	Updated the config for Lysator.
diff --git a/fetch-backup-work b/fetch-backup-work
index 9d66521..4186e4c 100755
--- a/fetch-backup-work
+++ b/fetch-backup-work
@@ -17,28 +17,24 @@ ssh plantagenet ls -1 /cvsroot \
         {print "lyscvs", $1, "plantagenet /cvsroot/" $1}' \
 >> $NT
 
-ssh uhumhummy ls -1 /lysator/lyswww/users/common \
+ssh nyarlathotep ls -1 /srv/www/users \
  | sort \
- | awk '{print "lyswww", $1, "uhumhummy /lysator/lyswww/users/common/" $1}' \
+ | awk '{print "lyswww-users", $1, "nyarlathotep /srv/www/users/" $1}' \
 >> $NT
-
-ssh uhumhummy ls -1 /lysator/lyswww/users/roxen_only \
- | sort \
- | awk '{print "roxen", $1, "uhumhummy /lysator/lyswww/users/roxen_only/" $1}' \
->> $NT
-
-ssh uhumhummy ls -1 /lysator/lyswww/projects/apache \
+ssh nyarlathotep ls -1 /srv/www/projects/front \
  | sort \
- | awk '{print "lyswww-projects-apache", $1, "uhumhummy /lysator/lyswww/projects/apache/" $1}' \
+ | awk '{print "lyswww-projects-front", $1, "nyarlathotep /srv/www/projects/front/" $1}' \
 >> $NT
-
-ssh uhumhummy ls -1 /lysator/lyswww/projects/front \
+ssh nyarlathotep ls -1 /srv/www/projects/roxen \
  | sort \
- | awk '{print "lyswww-projects-front", $1, "uhumhummy /lysator/lyswww/projects/front/" $1}' \
+ | awk '{print "lyswww-projects-roxen", $1, "nyarlathotep /srv/www/projects/roxen/" $1}' \
 >> $NT
-
-echo lyswww-projects-roxen root uhumhummy /lysator/lyswww/projects/roxen/ >> $NT
-echo lyswww-nginx root facexpaces /pkg/nginx >> $NT
+echo lyswww-projects-planet root nyarlathotep /srv/www/projects/planet >> $NT
+echo lyswww-main root nyarlathotep /srv/www/main >> $NT
+echo nyarlathotep etc nyarlathotep /etc >> $NT
+echo nyarlathotep lxc nyarlathotep /lxc >> $NT
+echo nyarlathotep opt nyarlathotep /opt >> $NT
+echo nyarlathotep usr-local nyarlathotep /usr/local >> $NT
 
 ssh bacon.lysator.liu.se ypcat -k auto_home \
  | sort \
-- 
GitLab