Back up LND dir to S3

This commit is contained in:
Basti 2021-12-23 13:04:50 +01:00
parent 7adee84adf
commit 0b80d490a8
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72
1 changed files with 5 additions and 0 deletions

View File

@ -118,3 +118,8 @@ if node['bitcoin']['tor_enabled']
node.override['tor']['ControlPort'] = 9051
node.override['tor']['CookieAuthentication'] = true
end
unless node.chef_environment == 'development'
node.override['backup']['archives']['lnd'] = [node['lnd']['lnd_dir']]
include_recipe 'backup'
end