# Gateway Restore doesn't apply until resetting service

**URL:** <https://forum.inductiveautomation.com/t/gateway-restore-doesnt-apply-until-resetting-service/57807>\
**Category:** Ignition Early Access\
**Created:** [March 30, 2022, 1:11pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-doesnt-apply-until-resetting-service/57807 "2022-03-30T13:11:04Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [March 30, 2022, 1:11pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-doesnt-apply-until-resetting-service/57807/1 "2022-03-30T13:11:04Z")

</div>

When I restore the gateway, the gateway doesn’t update to the new backup until I manually reset the ignition services.  
This happen a lot lately in the different versions of in 8.1

---

<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:** [March 30, 2022, 1:15pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-doesnt-apply-until-resetting-service/57807/2 "2022-03-30T13:15:28Z")

</div>

How are you restoring the backup?

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [March 30, 2022, 1:40pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-doesnt-apply-until-resetting-service/57807/3 "2022-03-30T13:40:32Z")

</div>

Of course from the backup and restore page in the gateway

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/b/4b2f3f571d74045655d2e8c18973826ddcb00650.png)

when this happens the restarting time of ignition take very fast. In normal case it should take about 30s but in this case it take 6s

---

<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:** [March 30, 2022, 1:41pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-doesnt-apply-until-resetting-service/57807/4 "2022-03-30T13:41:37Z")

</div>

Okay, so is the gateway restarting when you click “Restore”, and then you still see the same thing until a manual service restart? Or is nothing happening at all?

---

<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:** [March 30, 2022, 1:42pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-doesnt-apply-until-resetting-service/57807/5 "2022-03-30T13:42:03Z")

</div>

Can you upload logs after this happens?

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [March 30, 2022, 1:42pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-doesnt-apply-until-resetting-service/57807/6 "2022-03-30T13:42:29Z")

</div>

I see the restarting logo of ignition like as usual but it finish very fast

---

<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:** [March 30, 2022, 1:45pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-doesnt-apply-until-resetting-service/57807/7 "2022-03-30T13:45:32Z")

</div>

Restoring a backup just places the upload file in the base $IGNITION dir with a prefix like ` __restore_` or `__ restore_disabled_`… I wonder if this is happening or if there’s some file permissions error or something that prevents the restart from seeing or reading it.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [March 30, 2022, 1:48pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-doesnt-apply-until-resetting-service/57807/8 "2022-03-30T13:48:58Z")

</div>

> [@Kevin.Herron](#):
>
> Can you upload logs after this happens?

Sure you mean this:  
[wrapper.log](https://forum.inductiveautomation.com/uploads/short-url/rIhfTGOFl8sOkMLt1k6HKnYwc6V.log) (1.2 MB)

I delete the old logs and start ignition, The first restore happened to work but the second one show that bug.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [March 30, 2022, 1:51pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-doesnt-apply-until-resetting-service/57807/9 "2022-03-30T13:51:38Z")

</div>

[system\_logs.idb](https://forum.inductiveautomation.com/uploads/short-url/3NpRle7CNODrtcMitTDZxuTEBwe.idb) (1.2 MB)

---

<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:** [March 30, 2022, 1:53pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-doesnt-apply-until-resetting-service/57807/10 "2022-03-30T13:53:46Z")

</div>

Hmm, it’s failing but I don’t have information about why because the delete method being used is silent 😕

```auto
INFO | jvm 2 | 2022/03/30 18:17:50 | I [c.i.i.g.u.BackupRestoreDelegate] [13:47:50]: Starting restore procedure, writing upload to disk... 
INFO | jvm 2 | 2022/03/30 18:17:54 | W [c.i.i.g.u.BackupRestoreDelegate] [13:47:54]: Restore failed: Failed to delete the data/projects directory. This may result in incorrect project overwrites and merges 
INFO | jvm 2 | 2022/03/30 18:17:54 | com.inductiveautomation.ignition.gateway.util.BackupRestoreDelegate$ProjectBackupException: Failed to delete the data/projects directory. This may result in incorrect project overwrites and merges
INFO | jvm 2 | 2022/03/30 18:17:54 | at com.inductiveautomation.ignition.gateway.util.BackupRestoreDelegate.backupProjectData(BackupRestoreDelegate.java:590)
INFO | jvm 2 | 2022/03/30 18:17:54 | at com.inductiveautomation.ignition.gateway.util.BackupRestoreDelegate.restore(BackupRestoreDelegate.java:229)

```
