From 2ff3da5c0374298aa2da1779a8e9d6d93a2389e3 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Tue, 24 May 2022 14:57:18 -0500 Subject: [PATCH] Correctly locate exclude file in backup script --- backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup b/backup index 52ad591..5e9abfc 100755 --- a/backup +++ b/backup @@ -17,7 +17,7 @@ fi # Do the backup as non-intrusively as possible. echo "Indexing ${name}..." -nice -n19 ionice -c3 bup index -vv --exclude-rx-from=exclude /etc /var /srv /home/ta180m +nice -n19 ionice -c3 bup index -vv --exclude-rx-from=$(dirname "$0")/exclude /etc /var /srv /home/ta180m echo "Backing up ${name} to '${repository}'..." nice -n19 ionice -c3 bup save -vv --name="${name}" --compress=9 /