trim down install, tighten sshd
This commit is contained in:
@@ -161,7 +161,7 @@ run_configure() {
|
||||
echo "There's already a backup in $BACKUP_DIR in your Nextcloud files."
|
||||
read -rsp "Its passphrase: " pass
|
||||
echo
|
||||
RESTIC_PASSWORD_COMMAND= RESTIC_PASSWORD="$pass" restic cat config > /dev/null \
|
||||
RESTIC_PASSWORD_COMMAND='' RESTIC_PASSWORD="$pass" restic cat config > /dev/null \
|
||||
|| { echo "restic couldn't open it with that passphrase."; return 1; }
|
||||
save_secret passphrase "$WEBDAV/$BACKUP_DIR" "$pass" || return 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user