# Gateway restore fails?

**URL:** <https://forum.inductiveautomation.com/t/gateway-restore-fails/10663>\
**Category:** Ignition\
**Created:** [October 24, 2015, 6:28pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-fails/10663 "2015-10-24T18:28:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmoniz](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jmoniz](https://forum.inductiveautomation.com/u/jmoniz)\
**Post date:** [October 24, 2015, 6:28pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-fails/10663/1 "2015-10-24T18:28:29Z")

</div>

We are in the process of trying to upgrade to 7.8 from 7.7.2. In doing so every time we do a backup and try restore the Gateway just hangs. By hanging I mean, the Web server service starts but the Gateway stays in a perpetual “starting” state.

I do not attribute this to a 7.8 issue as the issues seems to be tied to our GW backup. I get the same response from our back up on various other dev installs of 7.8. If i use a GW backup of a different GW the problem goes away.

How can I get around this. Is there away to examine the specific GW backup file for issues?

Thanks  
JP

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [October 24, 2015, 8:04pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-fails/10663/2 "2015-10-24T20:04:22Z")

</div>

can you post the errors that you see in the wrapper.log? One issue I see occasionally is the / in the java path in the ignition.conf file are missing

Instead of being like this:

C:/Program Files/Java/jre1.8.0\_20/bin/java.exe

it ends up like this:  
C:Program FilesJavajre1.8.0\_20binjava.exe

---

<div class="post-metadata">

**Author:** ![jmoniz](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jmoniz](https://forum.inductiveautomation.com/u/jmoniz)\
**Post date:** [October 26, 2015, 11:50am UTC](https://forum.inductiveautomation.com/t/gateway-restore-fails/10663/3 "2015-10-26T11:50:56Z")

</div>

Sorry forgot to add that after about 3 hours the backup finally restores.

I’ve read the issue about the “/” missing from the ignition.conf file. This doesn’t seem to be that issues as I have checked for that and have not seen it.

I have attached the wrapper.log  
[wrapper.log](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f5b727f77bf89915c2af1ad91425a61326fcd185.log) (1.44 MB)

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [October 26, 2015, 4:04pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-fails/10663/4 "2015-10-26T16:04:25Z")

</div>

It sounds like what is happening is that the Gateway detected some duplicate entries in the SQLTAG section of the internal database in your backup. It deletes those entries for you upon startup, but for some reason it takes a very long time in this case. Is it possible to generate another backup from the original Gateway? You would have to restart the original Gateway to ensure the duplicate entries have been removed. If you cannot do that, you can also try sending the existing backup to Support to see if they can do something with it.

---

<div class="post-metadata">

**Author:** ![jmoniz](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jmoniz](https://forum.inductiveautomation.com/u/jmoniz)\
**Post date:** [October 26, 2015, 4:29pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-fails/10663/5 "2015-10-26T16:29:07Z")

</div>

What email do i use to send it to support or should I call them and get a ticket first?

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [October 26, 2015, 5:37pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-fails/10663/6 "2015-10-26T17:37:30Z")

</div>

It’s probably easiest to call so they can give you a ticket number to attach your backup to. Make sure to mention this entry in your wrapper.log:

`INFO | jvm 2 | 2015/10/24 17:24:14 | INFO [TagStore] [17:24:14,218]: Duplicate Detection took: 2 hours, 40 minutes, 44 seconds
INFO | jvm 2 | 2015/10/24 17:24:14 | INFO [TagStore] [17:24:14,218]: Delete duplicates will deleted 33604 tags.`
