From c88d58ac12bf268d79bad6bcce76d828086ac244 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 22 Jun 2018 01:05:11 +0200 Subject: [PATCH] Be more nice to the machine backup might take longer but machine performance isn't impaired Signed-off-by: Knut Ahlers --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 2067aeb..632dd1a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -40,7 +40,7 @@ cron: name: Duplicity Backup special_time: hourly - job: /usr/local/bin/duplicity-backup -f /etc/duplicity-backup.yaml backup + job: /usr/bin/ionice -c3 /usr/bin/nice -n19 /usr/local/bin/duplicity-backup -f /etc/duplicity-backup.yaml backup user: root cron_file: duplicity