aboutsummaryrefslogtreecommitdiff
path: root/files/sync-backups
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-17 22:24:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-17 22:24:19 -0300
commitd439eaf8091f12598c3c943d2afcd46774c96a8c (patch)
treef70339fffbd822c5143e27ed8de132d7a59052e1 /files/sync-backups
parent618f1bfb0651ae8d24228dbb5407de73aa8dc17d (diff)
downloadpuppet-backup-d439eaf8091f12598c3c943d2afcd46774c96a8c.tar.gz
puppet-backup-d439eaf8091f12598c3c943d2afcd46774c96a8c.tar.bz2
Be ionice at sync-backups (2)
Diffstat (limited to 'files/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 4867701..72fcdec 100644
--- a/files/sync-backups
+++ b/files/sync-backups
@@ -10,7 +10,7 @@ MEDIA="/media/$VOLUME"
BWLIMIT="2500"
IMAGES="/var/data/crypt/"
RSYNC="ionice -c 3 nice -n 19 rsync -avH --delete --bwlimit=$BWLIMIT"
-CP="ionice -c 3 nice -n 19"
+CP="ionice -c 3 nice -n 19 cp"
# Sync backups for a node.
function sync_backups_node {