What is the best way to test my backup of a lnd node. I have the 24 words and the static channel backup. I read somewhere that when you restore with the static channel backup it send a message to your peers to get the channel state and then closes the channel. Is this true? If so how can I test the backup on another machine to make sure it is working without closing the channels? Is there a better way to back up?
284 sats \ 1 reply \ @DarthCoin 7 May
Yes, this is standard procedure for LND. It prevents accidental restore in another device and that could trigger a penalty.
Just make that backup every time you open and close a channel (not after each payment).
Optional, if you know what are you doing you can save the channel.db and wallet.db, but depending on how you installed that LND instance it will require also other files where was encrypted the password to open the wallet.
Just the SCB file + seed is enough and safe.
reply
76 sats \ 0 replies \ @Hakuna 7 May
Worth noting that the backup'ed channel.db shouldn't be used to come back online, but just to use chantools to do the SCB with your channel.db instead of your SCB file.
Coming back online with an outdated channel.db imposes great risk of losing funds via penalty transactions.
reply
100 sats \ 0 replies \ @Hakuna 7 May freebie
You can check the integrity of your SCB file for your node with the following command below*
And yes, it triggers a signal to your peers (who are currently online) to FC your channel, which in the standard setup transfers the channel sats from your side to your LND onchain wallet. Which you will be able to access with your 24 words.
Always note that this should be something like a last resort, cause it's incurring costs for everyone. Better to mitigate risk by having good hardware, a UPS, and not mess with your production system if avoidable.
https://node-recovery.com/ is a bookmark worthy ressource, too.
*Test and verify chan-backup file
reply