diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-02-10 11:26:28 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-02-10 11:26:28 -0200 |
commit | 71925a319b5648ca6b18d6eec43d28e80b2b278e (patch) | |
tree | 204b9793b982473899f97af51d643894285623c1 /files | |
parent | 8c87ef80954658d5224e33c5fc24481f22222640 (diff) | |
download | puppet-backup-71925a319b5648ca6b18d6eec43d28e80b2b278e.tar.gz puppet-backup-71925a319b5648ca6b18d6eec43d28e80b2b278e.tar.bz2 |
Fixing remote backup handling at sync-backups
Diffstat (limited to 'files')
-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 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 |