make !backups to your desktop! of:
hsm_secret
(this is the root key for your onchain funds - can be regenerated from the CLN backup words)- stored on the SSD:
/home/bitcoin/.lightning/bitcoin/hsm_secret
- stored on the SSD:
lightningd.sqlite3.backup
(this is the realtime channel database backup saved to your SDcard by the backup plugin)- find it on the SDcard in
/home/bitcoin/
. If there are multiple backup files always use the latest one (the backups of the backup are dated and stored when the backup plugin is reinitialized - they can be discarded).
- find it on the SDcard in
To start the process flash a new SDcard (keep your old SDcard as a backup) and make sure everything is working by starting a new (empty) CLN node and have bitcoind synced.
Upload the backups from your desktop (can use WinSCP on Windows):