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 36c91bc..230ce1e 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/remote/$node/
+ mkdir -p /$MEDIA/$HOSTNAME/remote/$node/
$RSYNC /var/backups/remote/$node/ /$MEDIA/$HOSTNAME/remote/$node/
done