aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/sync-backups2
1 files changed, 1 insertions, 1 deletions
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