diff --git a/borg_backup.sh b/borg_backup.sh index a790a5d..96386c1 100755 --- a/borg_backup.sh +++ b/borg_backup.sh @@ -43,7 +43,7 @@ source /home/*/SetupCockpit/secrets touch "$cache_file" # Setting this so the repo does not need to be given on the command line: -BORG_REPO=ssh://flyingscorpio@2px.info:22/~/"$(hostname)".borg +BORG_REPO=ssh://"$SSH_REPO":22/~/"$(hostname)".borg export BORG_REPO BORG_PASSPHRASE="$BORG_PASSPHRASE" diff --git a/secrets.template b/secrets.template index 02f52fe..6980195 100644 --- a/secrets.template +++ b/secrets.template @@ -1,4 +1,5 @@ # secrets - is sourced by some commands - this is a template SETUP_COCKPIT_EMAIL='' +SSH_REPO='user@ho.st' BORG_PASSPHRASE=''