4

I am wondering what steps to take to migrate a lighting node to a different server, keeping the pubkey/identity. The safest option is obviously to close the channels first. How is the identitiy pubkey created? From the 24 seed, random, or other means? In case I want to tranfer the node with opened channels, which files would I have to make sure to backup / transmit?

  • which lightning implmentation are you talking about? – Rene Pickhardt Aug 12 '18 at 9:25
1

in c-lightning it is fairly easy. Just shutdown the server and make a full backup of ~/.lightning folder. In it there is in particular hsm secrete which is used for key derivation of later keys and there is the sqllite3 database which is used to store all current states. so there is no need to close channels or anything.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.