aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-11-08 23:34:33 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-11-08 23:34:33 -0200
commit008f898d570a9a64faee1fdce628ac20d4fbc30f (patch)
tree48c7e9ef529f851e568068ac7bc65d3d01694fc8
parentb041c5d49e86a94f7c148e725f7534d505f0e0d8 (diff)
downloadpuppet-backup-008f898d570a9a64faee1fdce628ac20d4fbc30f.tar.gz
puppet-backup-008f898d570a9a64faee1fdce628ac20d4fbc30f.tar.bz2
Preserving hardlinks at sync-backups
-rw-r--r--files/sync-backups2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/sync-backups b/files/sync-backups
index 87a4a75..1588dce 100644
--- a/files/sync-backups
+++ b/files/sync-backups
@@ -7,7 +7,7 @@ NODE="$1"
MEDIA="/media/usb"
BWLIMIT="5000"
IMAGES="/var/data/crypt/"
-RSYNC="nice -n 19 rsync -av --delete --bwlimit=$BWLIMIT"
+RSYNC="nice -n 19 rsync -avH --delete --bwlimit=$BWLIMIT"
if [ ! -z "$NODE" ]; then
for node in `ls /var/vservers/$NODE/var/backups/remote/`; do