How to migrate lightning nodes?
In C-Lightning it is fairly easy. Just shutdown the server and make a full backup of the ~/.lightning folder. This folder contains in particular the HSM secret which is used for key derivation of later keys and it also has the sqlite3 database which is used to store all current states. This means that there is no need to close channels or anything.