In many scenarios, it's necessary to migrate or restore a gateway to a separate server. For example, a gateway may have initially been installed on a server with insufficient resources to support the current workload. In other cases, a hardware failure may have occurred on a gateway's server and thus it's necessary to quickly restore connectivity. Via the recovery key that's created when a gateway is first installed and configured, the data sources and their associated settings (authentication and credentials) can be restored on a new gateway machine.
In the following image, the gateway installation application (PowerBIGatewayInstaller.exe) provides the option to Migrate, restore, or takeover ...