lightning network – Question about LN node backups

I have an LN node running on c-lightning. I do backups of ~ / .lightning directories from time to time.

Suppose that after the backup, I open some new channels and I remove the rest of the funds waiting on my electrum. Then I restore a backup.

What will happen to my node and its channels?

P.S. I have tried such a scenario once. The state of the funds in the chain after the restoration of the backup becomes "spent". I had to start lightning-cli dev-rescan-output & # 39; to update available funds and obtain current status. While my node lists the channels in & # 39; listfunds & # 39 ;, I see that these channels become inactive. What's going on under the hood? What is the best way to create and restore node backups?