Updated: September 13, 2023

LND Node Recovery Options and Planning

Ready to Get Started

Get started building with the Lightning Network Today.

Contents

Key Takeaways

Learn steps to recover an LND Node if it breaks or you no longer have access. Nate breaks this down.

Starting a new Lightning Node can be overwhelming. One of the most important questions you will inevitably ask yourself early is, “If I put a lot of sats into this node, what do I do if my node breaks or I no longer have access?”

This blog will help answer this question from the LND implementation standpoint. C-Lightning and other implementations have different recovery methods that will not be covered here.

If you want to test recovery, create a node to start below.



For LND, save your Cypher Seed Phrase and re-download your channel.backup file at least weekly or when your channels change extensively (many opens or closes quickly). If you lost access to your node, you could restore your funds using a fresh LND install on any platform and then choose to restore from seed. This will close all your old channels, but you will get all your funds back on-chain. You can then send those funds to any on-chain wallet. For a more detailed walkthrough, continue reading.


For recovery on LND, you will need your LND Cypher Phrase, a series of words given to you when you initially create your node. If you are using Voltage, you can access these words from your primary node dashboard. The other piece of information is known as your channel.backup file. This file holds the most recent pre-signed transaction to force close each channel.  This file is updated every time something changes with any open channel that your node has active.

The channel.backup can be obtained many ways. Here are a few:

  1. Download manually in the ‘tools’ menu on Thunderhub (my preferred method).
  2. If you are running Voltage, you can download it manually from your primary node dashboard.
  3. You can use the lncli command if on command line.
  4. If you are using mynode/umbrel or other implementations, you can download directly from their unique dashboards.
  5. Balance of Satoshis tool has a telegram bot integration that auto-downloads the channel.backup file to a telegram chat with you and the bot. This happens whenever a channel is opened or closed.

There may be other ways to acquire your channel.backup file but these are some common ones.

Let’s run through a scenario:

You are running your node on a raspberry pi. The raspberry pi fails. You have the LND cypher phrase and latest channel.backup. In this scenario you can buy a new raspberry pi, install LND, and use your words/channel.backup to receive your funds. You can also use Voltage to recover your funds and then you can send them to an address that you control.

You can restore any LND funds using Voltage, regardless of if it was originally a Voltage hosted node or not. All you have to do is create an account, click new node, and then check box “Restore existing node from Seed and Static Channel Backup”

If you do not enter your static channel backup, you will only have access to funds from channels that were closed. If you had 15 open channels and your channel.backup was saved when you only had 10 channels, then those 10 channels are recovered. The remaining 5 channels funds can also be recovered but you will have to wait for the peer to force close the channel. This could take time, so be sure to update your channel.backup whenever you open new channels.

A few things to always remember though:

  1. Uploading your channel.backup will close ALL existing channels associated with that node. These channels may take days to close, so give it time if you do not see the funds in your on-chain wallet immediately.
  2. If you must recover using your seed/channel.backup, it is recommended to migrate the newly on-chain funds to a separate wallet and start a fresh new node. Do not continue using the old cypher seed phrase.
  3. If your channel.backup is compromised (an unauthorized third party found it) they can do nothing with it and get no information unless they also have your cpyher seed phrase.
  4. If you lose your channel.backup and only have your cypher seed phrase, then you will have to wait for each peer of each channel to force close the channel.  As your peers close their channels with you, you will see the funds appear in your on-chain wallet. It could take a long time for all your peers to force close these channels, and sometimes they might not even do it if they are not monitoring their nodes closely.

To sum everything up, don’t lose your LND seed words and make a habbit of downloading your channel.backup file when you add channels to your node. As long as you do that, you will be able to recover, and thankfully many people both at Voltage and in the wider community will help you if you need it. Thanks for reading and if you have any questions about this article or backups in general, please join the Voltage discord.

Subscribe To Our Newsletter