Is there any chance that you may automate the process described in this article? https://enhance.com/docs/advanced/control-panel-migration.html#introduction
alenguav I don’t think anyone should be automating this process. It’s a delicate process you should run manually. I have automated the backup on of the control panel though, see https://community.enhance.com/d/2548-backup-your-control-panel-server-to-a-remote-location-for-easy-disaster-recovery
search the forums... I am sure I saw that somewhere recently... 😉