aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-10 11:34:59 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-02-10 11:34:59 -0200
commit32cab55e6ceac259dd5e369d0f89e45ff7c0e3bc (patch)
treed211d9ba014d581381604a13674573f08a0efd21 /files
parent71925a319b5648ca6b18d6eec43d28e80b2b278e (diff)
downloadpuppet-backup-32cab55e6ceac259dd5e369d0f89e45ff7c0e3bc.tar.gz
puppet-backup-32cab55e6ceac259dd5e369d0f89e45ff7c0e3bc.tar.bz2
Oops
Diffstat (limited to 'files')
-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