Xiaomi Gateway devices migration

Hi, does anybody know a way to migrate devices to another hub from lumi.gateway.v3?
The way to manually re-add all of them and all automations is pretty hard.

Your not going to like this, but I do believe the only way to accomplish this is to delete devices from the old and add to the new : (

Maybe it has some root access or something?