Compare commits

..

No commits in common. "75368e108bb45abf4a18326db57c69179db3f53c" and "6fc82aac834e40542ad3e58703de9dd5b8e821e8" have entirely different histories.

4 changed files with 1 additions and 20 deletions

1
.gitattributes vendored
View File

@ -73,4 +73,3 @@
.gitattributes export-ignore .gitattributes export-ignore
.gitignore export-ignore .gitignore export-ignore
.vscode export-ignore

View File

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2019-2020 Asif Bacchus Copyright (c) 2019 Asif Bacchus
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -32,12 +32,6 @@ borgConnectRepo="jdoe123@borg.server.net:pilerBackup/"
# recommended for security # recommended for security
borgRepoPassphrase="p@ssW0rd" borgRepoPassphrase="p@ssW0rd"
# keyfile to access repo
# FULL PATH where the associated keyfile for your repo is located -- relevant
# only if your repo requires a keyfile (i.e. 'keyfile' vs 'repokey') and if you
# are not using the default keyfile location
borgKeyfileLocation="/var/borgbackup/.config/borg/keys/server_address__repo_name"
# OPTIONAL: path to text file containing a list (one per line) of files/ # OPTIONAL: path to text file containing a list (one per line) of files/
# directories to include in your backup along with exported data from piler # directories to include in your backup along with exported data from piler
# see repo wiki for more details # see repo wiki for more details

View File

@ -506,18 +506,6 @@ else
export BORG_PASSPHRASE="DummyPasswordSoBorgFails" export BORG_PASSPHRASE="DummyPasswordSoBorgFails"
fi fi
## check borg repository keyfile location
if [ -z "${borgKeyfileLocation}" ]; then
printf "%sdetails:borgKeyfileLocation %s-- %s[DEFAULT]%s\n" "$magenta" "$norm" "$ok" "$norm" >> "$logFile"
else
# check if keyfile location exists
if [ ! -f "${borgKeyfileLocation}" ]; then
badDetails dne 'borgKeyfileLocation'
fi
printf "%sdetails:borgKeyfileLocation %s-- %s[OK]%s\n" "$magenta" "$norm" "$ok" "$norm" >> "$logFile"
export BORG_KEY_FILE="${borgKeyfileLocation}"
fi
## export borg remote path, if specified ## export borg remote path, if specified
if [ -n "${borgRemote}" ]; then export BORG_REMOTE_PATH="${borgRemote}"; fi if [ -n "${borgRemote}" ]; then export BORG_REMOTE_PATH="${borgRemote}"; fi