From 76224b5c086e5ef3edece8e0ca4d0b6d60b0865a Mon Sep 17 00:00:00 2001 From: Sebastian Thorarensen <sebth@lysator.liu.se> Date: Fri, 24 Jan 2014 11:33:13 +0000 Subject: [PATCH] Updated the config for Lysator. * fetch-backup-work: Add backup of lyswww projects and nginx configuration. --- ChangeLog | 12 +++++++++--- fetch-backup-work | 15 ++++++++++++++- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4fea458..286d2aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,15 +1,21 @@ +2014-01-24 Sebastian Thorarensen <sebth@lysator.liu.se> + + Updated the config for Lysator. + * fetch-backup-work: Add backup of lyswww projects and nginx + configuration. + 2014-01-24 Sebastian Thorarensen <sebth@lysator.liu.se> Updated the config for Lysator. * fetch-backup-work: Replace celsius with thestral and correct - the ftp-pub backup. + the ftp-pub backup. 2014-01-22 Sebastian Thorarensen <sebth@lysator.liu.se> Updated the config for Lysator. * fetch-backup-work: bacon is now used instead of stalhein for - fetching auto_home. ftp mirror exclude list is now up to date. - ftp-home (doesn't exist anymore) removed. + fetching auto_home. ftp mirror exclude list is now up to date. + ftp-home (doesn't exist anymore) removed. 2012-11-23 Per Cederqvist <ceder@ryttargardskyrkan.se> diff --git a/fetch-backup-work b/fetch-backup-work index 3cecb0e..9d66521 100755 --- a/fetch-backup-work +++ b/fetch-backup-work @@ -24,9 +24,22 @@ ssh uhumhummy ls -1 /lysator/lyswww/users/common \ ssh uhumhummy ls -1 /lysator/lyswww/users/roxen_only \ | sort \ - | awk '{print "roxen", $1, "uhumhummy /lysator/lyswww/users/roxen_only/" $1}'\ + | awk '{print "roxen", $1, "uhumhummy /lysator/lyswww/users/roxen_only/" $1}' \ >> $NT +ssh uhumhummy ls -1 /lysator/lyswww/projects/apache \ + | sort \ + | awk '{print "lyswww-projects-apache", $1, "uhumhummy /lysator/lyswww/projects/apache/" $1}' \ +>> $NT + +ssh uhumhummy ls -1 /lysator/lyswww/projects/front \ + | sort \ + | awk '{print "lyswww-projects-front", $1, "uhumhummy /lysator/lyswww/projects/front/" $1}' \ +>> $NT + +echo lyswww-projects-roxen root uhumhummy /lysator/lyswww/projects/roxen/ >> $NT +echo lyswww-nginx root facexpaces /pkg/nginx >> $NT + ssh bacon.lysator.liu.se ypcat -k auto_home \ | sort \ | grep -v DELETE \ -- GitLab