added restic repo and password default variables

This commit is contained in:
2021-08-17 15:21:41 -04:00
parent e159085ce5
commit 1b5af28723

View File

@@ -3,6 +3,8 @@
LOCKFILE="/tmp/restic.lock"
LOGFILE="/var/log/restic/restic_$(date +%Y%m%d-%H%M%S).log"
LATEST_RESTIC_VERSION="0.12.1"
RESTIC_REPOSITORY="sftp:root@gauntnas.home.johnhgaunt.com:50022:/mnt/restic"
RESTIC_PASSWORD="restic"
# make log directory
if [ ! -d $(dirname ${LOGFILE}) ]; then