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
What
LND
Core Lightning
Keys
aezeed seed phrase, shown once by lncli create
hsm_secret, as a mnemonic (v25.12 and newer)
Channel backup file
The file channel.backup in ~/.lnd/data/chain/bitcoin/mainnet
emergency.recover in the lightning directory
Updated
On every channel open and close
Each time you open a new channel
Database copy
Never copy channel.db as a backup
Real-time replication, never snapshots
Recovery
Peers force-close your channels
Static 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.
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.
Export the static channel backup
Run lncli exportchanbackup with --all and an output file. LND also keeps channel.backup up to date by itself.
Verify the backup file
Run lncli verifychanbackup on the file, so you know it belongs to your node and is readable.
Copy it off the server
Copy channel.backup to your computer and a second place. Repeat after every channel you open or close.
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.
Core Lightning: replicate the database
The documentation recommends real-time database replication, not periodic snapshots.
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.
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.
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.
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?
Leaf
2 vCPU · 4 GB RAM · 80 GB NVMe
$7
$21 for 3 months
$7 / month
$21 for 3 months
$5.60 / month
$33.60 for 6 months
$3.50 / month
$42 for 1 year
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)
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.