I have a Umbrel PRO and atm just 1 9100PRO Samsung 4TB top SSD (will buy a second one for FailSafe).
I have a CLN wallet with onchain and LN liquidity, how do i save a backup of it in case of SSD failure?
Am i 100% ok if i have the recent backup of these 3 files: hsm_secret + lightningd.sqlite3 + emergency.recover, even if my SSD explode can i recover everything of my CLN in a new system?
Thanks in advance.
Gio.
Note: i truly hope that CLN implement a better backup system, this current way of manually backup it is absolutely ridiculous.
hsm_secret recovers all onchain funds and all to_remote (remote force closures) as long as you can keep track of your channel txids and peers (using chantools) or you have recent emergency.recover
emergency.recover is updated after every channel opening or closure. It is safer and easier to back it up regularly, but it isnt fundamental if you can track your channels in other way
lightningd.sqlite3 can be replicated on different machine. Replicated database can be used to resume your node wherever it stops / crashes. That is advantage over default lnd bbolt db. Without replication, snapshot backup is only useful for closing zombie channels, otherwise you risk penalty closure. But for those zombies it still is more useful to have regular backups then to not have them.. Just be very careful and don’t spin it up until all channels with online peers published their remote closures..
Personally I think LND is more solid option. CLN requires more sys admin -type skill and LN knowledge to be run safely. LND is far more forgiving.