Replace identical Zigbee Controller - good practice

I need to replace a faulty controller. I have a spare controller (same model). Is this as easy as just replacing it? Since the data is stored in a database locally (zha) this should work, right?

With ZHA, I think you will still need to do a backup/restore of the coordinator.