updated sftp url

This commit is contained in:
2021-08-17 20:43:41 -04:00
parent ff071d1d30
commit 50a582db92

View File

@@ -4,7 +4,7 @@ LOCKFILE="/tmp/restic.lock"
LOGFILE="/var/log/restic/restic_$(date +%Y%m%d-%H%M%S).log"
LATEST_RESTIC_VERSION="0.12.1"
LOCAL_RESTIC_REPOSITORY="/mnt/data/backups/restic"
export RESTIC_REPOSITORY="sftp:root@gauntnas.home.johnhgaunt.com:50022:/mnt/restic"
export RESTIC_REPOSITORY="sftp://root@gauntnas.home.johnhgaunt.com:50022//mnt/restic"
export RESTIC_PASSWORD="restic"
if [ -d ${LOCAL_RESTIC_REPOSITORY} ]; then