From 36d53be1af2099cdefce837331d60578e4d47ca3 Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Sun, 13 Oct 2019 11:23:41 -0300 Subject: [PATCH] Small fixes at HD Backup script --- Backup/.Backup_HD_1TB.sh | 3 ++- Backup/.lastDisk | 2 +- Backup/runBackup.sh | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Backup/.Backup_HD_1TB.sh b/Backup/.Backup_HD_1TB.sh index eff9c9e..e686140 100755 --- a/Backup/.Backup_HD_1TB.sh +++ b/Backup/.Backup_HD_1TB.sh @@ -9,7 +9,8 @@ else NextDisk=1 fi -backup="rsync -aq --inplace --exclude-from=./exclude" +#backup="rsync -aq --inplace --exclude-from=./exclude" +backup="nice -n 19 rsync -a --exclude-from=./exclude" HDPath="$HDPath$NextDisk" HDYEARMONTH="$HDPath/$YEARMONTH" diff --git a/Backup/.lastDisk b/Backup/.lastDisk index d00491f..0cfbf08 100644 --- a/Backup/.lastDisk +++ b/Backup/.lastDisk @@ -1 +1 @@ -1 +2 diff --git a/Backup/runBackup.sh b/Backup/runBackup.sh index 847657f..a27ab46 100755 --- a/Backup/runBackup.sh +++ b/Backup/runBackup.sh @@ -1,3 +1,3 @@ -#!/usr/bin/env bash -terminator -m -T BACKUP -x time systemd-inhibit sudo bash .Backup_HD_1TB.sh; echo; echo "Press enter key to close"; read +#!/usr/bin/bash +terminator -m -T BACKUP -x sudo systemd-inhibit bash .Backup_HD_1TB.sh; echo; echo "Press enter key to close"; read