From: Silvio Rhatto Date: Sat, 26 May 2018 14:03:40 +0000 (-0300) Subject: Borg: fix BORG_KEY_FILE X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5d66d68cba5c37b91c46f7a500b4bf85b6e9df89;p=puppet-backup.git Borg: fix BORG_KEY_FILE --- diff --git a/templates/borg.sh.erb b/templates/borg.sh.erb index 6c5e3ab..652bfa0 100644 --- a/templates/borg.sh.erb +++ b/templates/borg.sh.erb @@ -20,7 +20,7 @@ if [ "<%= @encryption %>" == "keyfile" ] && [ ! -z "<%= @keyfile %>" ]; then fatal "Keyfile not found: <%= @keyfile %>. Please create it manually." fi - export BORG_KEY_FILE="/root/.borg/hydra/key" + export BORG_KEY_FILE="<%= @keyfile %>" fi # some helpers and error handling: