Fix ssh_command in config.yaml template

This commit is contained in:
Varac 2018-11-19 22:35:40 +01:00
parent ecc4ccce78
commit 349b41c9b2
No known key found for this signature in database
GPG Key ID: 5465E77E7876ED04

View File

@ -57,7 +57,7 @@ storage:
# Command to use instead of just "ssh". This can be used to specify ssh options.
# ssh_command: ssh -i ~/.ssh/id_ed25519
{% if borg_ssh_command %}
encryption_passcommand: {{ borg_ssh_command }}
ssh_command: {{ borg_ssh_command }}
{% endif %}
# Umask to be used for borg create.
@ -133,4 +133,3 @@ hooks:
# List of one or more shell commands or scripts to execute in case an exception has occurred.
on_error:
- echo "`date` - Error while creating a backup."