Reconfigure database Instance nameafter system restore

For our product installation, we use __restore.gwbk as a way to configure our application on installation of Ignition.
We would like to be able to programmatically override the database connection instance name that is defined in the GWBK file after the system restoration from the GWBK has completed.

Have you looked into the IALabs Scripting Module? It has functions specifically for this. I’d look into the system.db.setDatasourceConnectURL() to change a DB instance name.