summaryrefslogtreecommitdiff
path: root/backup_simple
diff options
context:
space:
mode:
authorgrothedev <grothedev@gmail.com>2021-08-04 07:46:47 -0400
committerGitHub <noreply@github.com>2021-08-04 07:46:47 -0400
commitc6229a6a77be428112201193b37e59be99398f65 (patch)
treec97549b9392633569ff1f711d11799ecdaf9aa69 /backup_simple
parent8f8e7fc9ef16b41c39907aa80b764bcedcd5538c (diff)
use env var for remote backup dir
Diffstat (limited to 'backup_simple')
-rwxr-xr-xbackup_simple3
1 files changed, 2 insertions, 1 deletions
diff --git a/backup_simple b/backup_simple
index 2e8ae6a..6d3bd5c 100755
--- a/backup_simple
+++ b/backup_simple
@@ -8,7 +8,8 @@ if [[ -z $1 ]]; then
fi
src=$1
-dest='hb:/var/stor/personal/backup/'
+#dest='hb:/var/stor/personal/backup/'
+dest="hb:"$HB_BACKUP_DIR
rsargs=''
if [[ $2 ]]; then