From: Andrew Ruthven Date: Tue, 22 Oct 2013 12:40:41 +0000 (+1300) Subject: obnam can be pretty heavy on our laptops, make it back right down. X-Git-Tag: v0.6~2 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f13d1f4ef3b5148887668f5a743cfd682df5120;p=etc-obnam.git obnam can be pretty heavy on our laptops, make it back right down. --- diff --git a/run-backup b/run-backup index 359c8d3..198ab3f 100755 --- a/run-backup +++ b/run-backup @@ -97,7 +97,9 @@ then exit fi - obnam --quiet --client-name=$CLIENT backup $WORKDIR $SOURCE + # We try to impact on the user as much as possible, so nice + # ourselves completely. + ionice -c idle nice obnam --quiet --client-name=$CLIENT backup $WORKDIR $SOURCE rm /var/lock/etc-obnam exit 0