ansible-role-borgbackup icon indicating copy to clipboard operation
ansible-role-borgbackup copied to clipboard

Add setting for reduced NICE

Open m3nu opened this issue 4 years ago • 2 comments

I had a few cases where a VPS overloaded during a backup. Could be useful to run it with lower priority by adding this to CRON or setting the nice setting in the Systemd timer.

/usr/bin/nice -n 19 /usr/local/bin/borgmatic ...

m3nu avatar Dec 31 '20 07:12 m3nu

FYI this is currently set in borgmatic's systemd service file: https://projects.torsion.org/borgmatic-collective/borgmatic/src/branch/master/sample/systemd/borgmatic.service#L49

witten avatar Mar 20 '23 06:03 witten

I know. We are close to merging Systemd support in #112 . Then we can profit from this. Your file is in this PR too. 😀

m3nu avatar Mar 20 '23 07:03 m3nu