what does this mean? i am still learning how to backup my LND at best? i will go with a second machine ready to go. would just close all channels and open them again what do i need to consider even with a different backup you also need to know what to do when something breaks

Replies (2)

Oh in my case I have CLN. But did read a bit about LND too. From what I know always keep your SCB (Static Channel Backup) safe and with that you can always close your channels if the sqlite DB breaks. In my setup CLN does replicate the database automatically, so I have two copies one in the SSD of the machine one in the USB connected to it. Does LND have an option for that?
Here is what I do. I've been hosting a BTCPay Server instance on Oracle Cloud for close to 3 years now at zero cost. It is using LND. I've not had to go through a recovering process yet. Monthly or so I do a application consistent Boot Volume backup of the server. The process is basically shutdown BTCPay Server instance components then do a Boot Volume backup. Takes about 30 second to complete. Here are the details about this process. Second, I monitoring the Forward History daily and do a static channel backup. Basically, I'm executing the 2 commands below from the CLI. BTCpay ForwardingHistory BTCpay ExportAllChannelBackups SCB Here are the details about this process.