Doesn't matter from where to where. If you remove CLN and install it again, you need to do a recovery. Read https://docs.corelightning.org/docs/backup and https://docs.corelightning.org/docs/recovery.