# Backup doesn't restore

**URL:** <https://forum.inductiveautomation.com/t/backup-doesnt-restore/76546>\
**Category:** General Discussion\
**Tags:** ignition81\
**Created:** [July 18, 2023, 7:34pm UTC](https://forum.inductiveautomation.com/t/backup-doesnt-restore/76546 "2023-07-18T19:34:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodrigo.yoshiaki](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rodrigo.yoshiaki/32/39007_2.png) [@rodrigo.yoshiaki](https://forum.inductiveautomation.com/u/rodrigo.yoshiaki)\
**Post date:** [July 18, 2023, 7:34pm UTC](https://forum.inductiveautomation.com/t/backup-doesnt-restore/76546/1 "2023-07-18T19:34:38Z")

</div>

Hi,

I'm a trying to restore an old backup in another machine with the same version of ignition I used before (8.1.13) but when I restore the gateway does not start again.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 18, 2023, 7:35pm UTC](https://forum.inductiveautomation.com/t/backup-doesnt-restore/76546/2 "2023-07-18T19:35:11Z")

</div>

Can you upload the wrapper.log file from the `$IGNITION/logs` directory?

---

<div class="post-metadata">

**Author:** ![rodrigo.yoshiaki](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rodrigo.yoshiaki/32/39007_2.png) [@rodrigo.yoshiaki](https://forum.inductiveautomation.com/u/rodrigo.yoshiaki)\
**Post date:** [July 18, 2023, 7:38pm UTC](https://forum.inductiveautomation.com/t/backup-doesnt-restore/76546/3 "2023-07-18T19:38:02Z")

</div>

Hi Kevin, sure.

[wrapper.log](https://forum.inductiveautomation.com/uploads/short-url/hCoyEq43E7hhqe70h5fox8zLtvt.log) (62.0 KB)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 18, 2023, 7:38pm UTC](https://forum.inductiveautomation.com/t/backup-doesnt-restore/76546/4 "2023-07-18T19:38:52Z")

</div>

Something (another Ignition, IIS, another application) seems to be running on port 443, which is what the backup you restored is configured to run on:

```auto
INFO | jvm 2 | 2023/07/18 16:23:24 | WrapperSimpleApp: 
INFO | jvm 2 | 2023/07/18 16:23:24 | WrapperSimpleApp Error: Encountered an error running main:
INFO | jvm 2 | 2023/07/18 16:23:24 | WrapperSimpleApp Error: java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:443

```

---

<div class="post-metadata">

**Author:** ![rodrigo.yoshiaki](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rodrigo.yoshiaki/32/39007_2.png) [@rodrigo.yoshiaki](https://forum.inductiveautomation.com/u/rodrigo.yoshiaki)\
**Post date:** [July 18, 2023, 7:41pm UTC](https://forum.inductiveautomation.com/t/backup-doesnt-restore/76546/5 "2023-07-18T19:41:10Z")

</div>

> [@Kevin.Herron](#):
>
> Something (another Ignition, IIS, another application) seems to be running on port 443, which is what the backup you restored is configured to run on:

Got it, make sense I will configure to run in 8080 again . Thank you, I will try and if I it run I will reply it.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 18, 2023, 7:43pm UTC](https://forum.inductiveautomation.com/t/backup-doesnt-restore/76546/6 "2023-07-18T19:43:15Z")

</div>

8088 is the default for HTTP, 8043 for HTTPS. You can modify the ports in `$IGNITION/data/gateway.xml`.

---

<div class="post-metadata">

**Author:** ![rodrigo.yoshiaki](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rodrigo.yoshiaki/32/39007_2.png) [@rodrigo.yoshiaki](https://forum.inductiveautomation.com/u/rodrigo.yoshiaki)\
**Post date:** [July 18, 2023, 7:46pm UTC](https://forum.inductiveautomation.com/t/backup-doesnt-restore/76546/7 "2023-07-18T19:46:11Z")

</div>

So should I modify this line 443 to 8088 :

```auto
<entry key="gateway.metroSSLPort">443</entry>

```

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 18, 2023, 7:49pm UTC](https://forum.inductiveautomation.com/t/backup-doesnt-restore/76546/8 "2023-07-18T19:49:34Z")

</div>

Are there multiple lines in that file configured for 443?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 18, 2023, 7:51pm UTC](https://forum.inductiveautomation.com/t/backup-doesnt-restore/76546/9 "2023-07-18T19:51:03Z")

</div>

The default for that key is 8060.

There should be a `gateway.xml_clean` file that is all default values.

---

<div class="post-metadata">

**Author:** ![rodrigo.yoshiaki](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rodrigo.yoshiaki/32/39007_2.png) [@rodrigo.yoshiaki](https://forum.inductiveautomation.com/u/rodrigo.yoshiaki)\
**Post date:** [July 18, 2023, 8:01pm UTC](https://forum.inductiveautomation.com/t/backup-doesnt-restore/76546/10 "2023-07-18T20:01:14Z")

</div>

This is my gateway.xml  
[gateway.xml](https://forum.inductiveautomation.com/uploads/short-url/vE3bSNphmXBIve3iXxIIx5r67yY.xml) (1.3 KB)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 18, 2023, 8:05pm UTC](https://forum.inductiveautomation.com/t/backup-doesnt-restore/76546/11 "2023-07-18T20:05:19Z")

</div>

Change them to whatever you want so long as they are not already in use.

Make sure there's no another Ignition gateway running on the same server. You should not try to do this without using VMs or Docker.
