From 5b1c7f99e10a4fc1543f5fe8f084026cba244989 Mon Sep 17 00:00:00 2001 From: Sebastian Thorarensen <sebth@lysator.liu.se> Date: Tue, 13 May 2014 08:24:50 +0000 Subject: [PATCH] Updated the config for Lysator. * fetch-backup-work: Don't try to backup regular files and symlinks for lyswww-projects-roxen. --- ChangeLog | 6 ++++++ fetch-backup-work | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4b097bd..7588bd0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. + 2014-03-20 Sebastian Thorarensen <sebth@lysator.liu.se> Updated the config for Lysator. diff --git a/fetch-backup-work b/fetch-backup-work index 4186e4c..5a35d1b 100755 --- a/fetch-backup-work +++ b/fetch-backup-work @@ -25,7 +25,7 @@ ssh nyarlathotep ls -1 /srv/www/projects/front \ | sort \ | awk '{print "lyswww-projects-front", $1, "nyarlathotep /srv/www/projects/front/" $1}' \ >> $NT -ssh nyarlathotep ls -1 /srv/www/projects/roxen \ +ssh nyarlathotep 'cd /srv/www/projects/roxen && ls -1 | while read d; do [ -d "$d" -a ! -L "$d" ] && echo "$d"; done' \ | sort \ | awk '{print "lyswww-projects-roxen", $1, "nyarlathotep /srv/www/projects/roxen/" $1}' \ >> $NT -- GitLab