diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-02-10 11:34:59 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-02-10 11:34:59 -0200 |
commit | 32cab55e6ceac259dd5e369d0f89e45ff7c0e3bc (patch) | |
tree | d211d9ba014d581381604a13674573f08a0efd21 | |
parent | 71925a319b5648ca6b18d6eec43d28e80b2b278e (diff) | |
download | puppet-backup-32cab55e6ceac259dd5e369d0f89e45ff7c0e3bc.tar.gz puppet-backup-32cab55e6ceac259dd5e369d0f89e45ff7c0e3bc.tar.bz2 |
Oops
-rw-r--r-- | files/sync-backups | 2 |
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 |