0 sats \ 2 replies \ @samuelorji47 18 Apr 2023 \ on: Ask SN: Way to recover lightning funds without running a new lightning node? bitcoin
Recently SCB — Static Channel Backup got integrated into the master branch. So I went ahead and tried it out.
This is a guide to help you implement static channel backup and restore on your LND node.
If you are new to Lightning Network, check out my beginners guide to setting up a lightning node and configuring it to send and receive payments.
Before we get into details, let me quickly tell you what can you expect from SCB and it’s way of working.
This is a guide to help you implement static channel backup and restore on your LND node.
Where is the guide?
reply
Here some guide
You have some channels open with local-balance committed. Without SCB you run a risk of losing these funds in case of a hard-drive failure. Well, then how does SCB protect against this loss of funds?
Enabling SCB automatically backs up your channel data whenever new channels are opened or old ones are closed. This is done by backing up the data into a file named channel.backup . Now, this file resides within the same machine which is not at all ideal, but we will address this later. Given that you have a channel.backup file and your seed, in case of data loss, you will restore the wallet using your seed, next you will use the CLI command restorechanbackup and pass the path to your channels.backup file. This should be enough to recover your on-chain and also the local funds committed into channels.
The channel backup file is encrypted using a key derived from your wallet seed.
reply