Correctly locate exclude file in backup script
This commit is contained in:
parent
d091e5778d
commit
2ff3da5c03
2
backup
2
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 /
|
||||
|
|
Loading…
Reference in a new issue