Nodes welcome · NVMe sized for the chain · no KYC. Pay in crypto: BTC, USDT, USDC, ETH, SOL, LTC, XMR
Language: English
Pick a block

Guide · checked 10 November 2026

How to back up a Lightning node?

A Lightning node needs two backups: the seed that controls the keys, and the channel backup that lets you close channels after a disaster. Neither is copied by your hosting plan.

Last updated: · 8 min read

Quick answer

How to back up a Lightning node?

To back up a Lightning node, write down the seed, then copy the static channel backup off the server: channel.backup in LND, created by lncli exportchanbackup, or emergency.recover plus the hsm_secret mnemonic in Core Lightning. No Blockgilt plan includes backups, so a node on a Leaf with 2 GB of RAM or more needs its own copy.

In brief
  • Back up the seed first: the aezeed phrase on LND, the hsm_secret mnemonic on Core Lightning.
  • channel.backup is safe to copy at any time; never copy channel.db as a backup.
  • Core Lightning: save emergency.recover after each new channel and replicate the database in real time.
  • A static channel backup makes peers force-close your channels; it does not restore them.
  • No Blockgilt plan includes backups; a reinstall erases the disk.

What do you back up on LND and Core Lightning?

What to back up on LND and on Core Lightning, from each project’s recovery documentation
WhatLNDCore Lightning
Keysaezeed seed phrase, shown once by lncli createhsm_secret, as a mnemonic (v25.12 and newer)
Channel backup fileThe file channel.backup in ~/.lnd/data/chain/bitcoin/mainnetemergency.recover in the lightning directory
UpdatedOn every channel open and closeEach time you open a new channel
Database copyNever copy channel.db as a backupReal-time replication, never snapshots
RecoveryPeers force-close your channelsStatic channel recovery, a last resort

From the LND recovery documentation, the Lightning Engineering docs and the Core Lightning backup documentation, read on 10 November 2026.

What are the steps to back up a Lightning node?

Steps 1 to 4 apply to LND, steps 5 and 6 to Core Lightning, and the last step to both.

  1. Write down the seed on paper

    LND shows an aezeed phrase when you run lncli create. Write it on paper and store it away from the server. Core Lightning has its own mnemonic, covered below.

  2. Export the static channel backup

    Run lncli exportchanbackup with --all and an output file. LND also keeps channel.backup up to date by itself.

  3. Verify the backup file

    Run lncli verifychanbackup on the file, so you know it belongs to your node and is readable.

  4. Copy it off the server

    Copy channel.backup to your computer and a second place. Repeat after every channel you open or close.

  5. Core Lightning: save the mnemonic and emergency.recover

    Back up the hsm_secret once, as a mnemonic, and copy emergency.recover each time you open a channel.

  6. Core Lightning: replicate the database

    The documentation recommends real-time database replication, not periodic snapshots.

  7. Write and rehearse the recovery plan

    Keep the restore commands with your backups and test them on a spare server with a testnet or tiny-funds node.

What does a static channel backup protect?

A static channel backup lets your node ask its peers to close your channels, so you recover the on-chain part of your funds after losing the node. It does not restore the channels. The LND documentation says that once you invoke it, your node asks your peers to send their latest commitment transaction and force-close the channel, and that not all peers react immediately or are online at that moment.

That is why the seed matters first: the private key is an absolute must to recover any funds. Core Lightning says the same of its hsm_secret and adds that recovering it is necessary but insufficient to recover funds in channels. According to Blockgilt’s sizing of 10 November 2026, the public network of 22,680 channels over 13,777 nodes (21 October 2026, mempool.space) averages about 1.6 channels per node: few channels, each with real money in it. No plan includes backups. Keep your wallet seeds, Lightning channel backups and bot configs somewhere other than the VPS, and Blockgilt never holds your coins, seeds or exchange API keys: the node and the wallet on your VPS are yours to run, and nobody on the team will ask for a seed phrase or a private key.

How do you export and verify an LND channel backup?

You export it with lncli exportchanbackup --all --output_file=channel.backup, then verify it with lncli verifychanbackup. The channel.backup file lives in ~/.lnd/data/chain/bitcoin/mainnet on Linux, is a packed multi-channel backup, and is safe to copy at any time, unlike channel.db.

On the VPS
lncli exportchanbackup --all --output_file=channel.backup
lncli verifychanbackup --multi_file=channel.backup
On your computer: copy it off the server
scp [email protected]:~/.lnd/data/chain/bitcoin/mainnet/channel.backup ./channel.backup

verifychanbackup accepts a single or a multi-channel backup and checks that it is valid and belongs to your node. Keep several dated copies in at least two places that are not the VPS. If you run LND on another network, the path uses that network’s folder instead of mainnet. The setup guide is how to set up LND on a VPS.

Why must you never back up channel.db?

Copying channel.db is dangerous because an old copy holds an old channel state, and restoring it can make your node publish a revoked state. It also warns that using an unsigned force-close transaction from an outdated backup can let another node or a watchtower issue a penalty transaction that takes all the funds.

If you must use channel.db in a recovery, the documentation says to do so only when you recovered it directly from your crashed node, because it can be out of date.

How do you back up Core Lightning?

You back up the hsm_secret as a mnemonic once, copy emergency.recover after each new channel, and replicate the database in real time. The Core Lightning documentation says the hsm_secret is created with the node and does not change, so one backup is enough, and that its loss can lead to the theft of your funds, so keep it private.

Mnemonic of the hsm_secret (v25.12 and newer)
lightning-hsmtool getsecret $LIGHTNINGDIR/hsm_secret
Restore the node’s keys from the mnemonic
lightning-cli recover hsmsecret="word1 word2 word3 ... word12"

The default data directory is ~/.lightning/bitcoin for mainnet. The static channel backup is the file emergency.recover in that directory. The documentation notes that static channel recovery requires cooperation with peers and is a last resort for coins stuck in a channel, and it recommends real-time database replication instead of snapshot backups. If you set a passphrase for the hsm_secret, back it up separately: both are needed. The server setup is in how to set up Core Lightning on a VPS, and the difference between the two implementations in LND vs Core Lightning.

How do you restore a Lightning node from a backup?

You restore the seed first, then feed the channel backup to the node. On LND you create the wallet from the seed and the file in one command, or restore the file into an existing node; on Core Lightning you recover from the mnemonic.

LND restore
lncli create --multi_file=channel.backup
lncli restorechanbackup --multi_file=channel.backup

Run the first command on a fresh node, and the second on an existing one. Then wait a day or two: peers close at their own pace, and if one does not, the LND documentation suggests obtaining its latest IP or onion address and connecting to it manually. Rehearse this once on a spare node before you need it. Plans are paid in BTC, USDT, USDC, ETH, SOL, LTC, XMR, and Reboots and reinstalls are requested from the dashboard and done by the team; a reinstall erases the disk, chain data included, so keep the backups outside the server, because a reinstall erases the disk. Secure the host first with how to secure a VPS for a crypto node or bot.

Which plan for a Lightning node?

Term

Leaf

2 vCPU · 4 GB RAM · 80 GB NVMe

$7

$21 for 3 months

6 months $33.60 (−20%)1 year $42 (−50%)

  • 2 vCPU, 4 GB RAM, 80 GB NVMe
  • Trading bots, a pruned Bitcoin node with Lightning
  • 4 TB traffic at 1 Gbit/s, 1 IPv4 + IPv6 /64
  • $3.50 a month on the 12-month term ($42.00 a year)
  • HostBrr Value 8GB: $4.67 a month for 2 vCPU / 8 GB / 80 GB NVMe (10 November 2026)
Order this VPS

Gilt

4 vCPU · 8 GB RAM · 250 GB NVMe

$25.22

3 months $75.666 months $121.05 (−20%)1 year $151.32 (−50%)

  • 4 vCPU, 8 GB RAM, 250 GB NVMe
  • BTCPay Server with Lightning, pruned Bitcoin and Monero
  • 8 TB traffic at 1 Gbit/s, 1 IPv4 + IPv6 /64
  • $12.61 a month on the 12-month term ($151.32 a year)
  • HostBrr Value 32GB: $16.82 a month for 8 vCPU / 32 GB / 320 GB NVMe (10 November 2026)
Order this VPS

In every plan: NVMe sized for the chain · Inbound P2P ports open · Nodes welcome, mining banned · IPv4 + IPv6 /64 · Root over SSH · No KYC

Verdict
  • Blockgilt Leaf is the better choice if you run a small Lightning node and copy its backups off the server yourself, for $3.50 a month on 12 months.
  • A managed node is the better choice if you do not want to export a static channel backup after every new channel.
Sources (6)
  1. LND recovery (static channel backups) — Lightning Labs (checked 2026-11-10)
  2. LND disaster recovery — Lightning Labs (checked 2026-11-10)
  3. VerifyChanBackup and lncli verifychanbackup — Lightning Labs (checked 2026-11-10)
  4. Run LND — Lightning Labs (checked 2026-11-10)
  5. Core Lightning backup and recovery — Blockstream (Core Lightning) (checked 2026-11-10)
  6. Lightning Network statistics — mempool.space (checked 2026-11-10)

Lightning backup questions

How often should I back up an LND node?

Copy channel.backup after each channel you open or close. LND keeps the file current by itself, so the job is only to copy the newest version off the server.

Can I recover Lightning funds with the seed alone?

You recover on-chain funds, not funds inside open channels. The seed does not know your channel state. You also need the channel backup, and your peers must cooperate.

Is a snapshot of my Lightning database a good backup?

No. Core Lightning discourages snapshot backups and recommends real-time replication, and LND says channel.db is not suitable for backups. An old state can cost you all the funds.

Does the host back up my node?

No. No plan includes backups. Keep your wallet seeds, Lightning channel backups and bot configs somewhere other than the VPS.

How much RAM does a Lightning node need?

LND asks for at least 2 GB of RAM, a 1 GHz quad-core CPU and 5 GB of storage, without the Bitcoin backend. A Leaf has 4 GB of RAM and 80 GB of NVMe.

Run a Lightning node you back up yourself

Leaf has 4 GB of RAM and 80 GB of NVMe for $3.50 a month on 12 months.

From $3.50/month · no KYC

Pick a block