# Reconfigure database Instance nameafter system restore

**URL:** <https://forum.inductiveautomation.com/t/reconfigure-database-instance-nameafter-system-restore/7652>\
**Category:** General Discussion\
**Created:** [December 2, 2013, 6:59pm UTC](https://forum.inductiveautomation.com/t/reconfigure-database-instance-nameafter-system-restore/7652 "2013-12-02T18:59:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JimGillespie](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@JimGillespie](https://forum.inductiveautomation.com/u/JimGillespie)\
**Post date:** [December 2, 2013, 6:59pm UTC](https://forum.inductiveautomation.com/t/reconfigure-database-instance-nameafter-system-restore/7652/1 "2013-12-02T18:59:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [December 27, 2013, 10:00pm UTC](https://forum.inductiveautomation.com/t/reconfigure-database-instance-nameafter-system-restore/7652/2 "2013-12-27T22:00:02Z")

</div>

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.
