]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Be ionice at sync-backups (2)
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 18 Mar 2014 01:24:19 +0000 (22:24 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 18 Mar 2014 01:24:19 +0000 (22:24 -0300)
files/sync-backups

index 4867701bcbfead65b01a52c460463ae020108c9b..72fcdec9ed0ee994614f7ad61a9163a12c003966 100644 (file)
@@ -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 {