Skip to content

How to specify ssh / sftp options for resticprofile? #536

Closed Answered by pmorch
pmorch asked this question in Q&A
Discussion options

You must be logged in to vote

DUH!

My mistake.

In the backup-ssh.config I called the host hetzner-storage-box, but in the profile definition, I referenced the host as sftp://hetzner-backup/. Once I changed one to match the other, it worked. Both for option as a scalar and for option as an array.

So there was a problem, just much simpler than I thought. Thanks, @creativeprojects for confirming that I was on the right track and that the options parameter wasn't the problem. --dry-run was the key debugging tip.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pmorch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants