From 71925a319b5648ca6b18d6eec43d28e80b2b278e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 10 Feb 2011 11:26:28 -0200 Subject: Fixing remote backup handling at sync-backups --- files/sync-backups | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files') diff --git a/files/sync-backups b/files/sync-backups index 490e4c9..36c91bc 100644 --- a/files/sync-backups +++ b/files/sync-backups @@ -26,7 +26,7 @@ else # Sync remote backups. for node in `ls /var/backups/remote/`; do - mkdir -p /$MEDIA/$node/ + mkdir -p /$MEDIA/$NODE/remote/$node/ $RSYNC /var/backups/remote/$node/ /$MEDIA/$HOSTNAME/remote/$node/ done -- cgit v1.2.3