# How to restore deleted images?

**URL:** <https://forum.inductiveautomation.com/t/how-to-restore-deleted-images/34683>\
**Category:** Ignition\
**Created:** [May 13, 2020, 12:37am UTC](https://forum.inductiveautomation.com/t/how-to-restore-deleted-images/34683 "2020-05-13T00:37:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ecan](https://avatars.discourse-cdn.com/v4/letter/e/8edcca/32.png) [@ecan](https://forum.inductiveautomation.com/u/ecan)\
**Post date:** [May 13, 2020, 12:37am UTC](https://forum.inductiveautomation.com/t/how-to-restore-deleted-images/34683/1 "2020-05-13T00:37:42Z")

</div>

Hi, I accidentally deleted an image folder in Ignition. Is there any way to restore the images without restoring the entire Ignition gateway?

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [May 13, 2020, 1:08am UTC](https://forum.inductiveautomation.com/t/how-to-restore-deleted-images/34683/2 "2020-05-13T01:08:03Z")

</div>

You could restore the GWBK to a different machine and just grab the image folder from it, then put on live server

---

<div class="post-metadata">

**Author:** ![ecan](https://avatars.discourse-cdn.com/v4/letter/e/8edcca/32.png) [@ecan](https://forum.inductiveautomation.com/u/ecan)\
**Post date:** [May 13, 2020, 1:43am UTC](https://forum.inductiveautomation.com/t/how-to-restore-deleted-images/34683/3 "2020-05-13T01:43:07Z")

</div>

> [@Matrix\_Engineering](#):
>
> GWBK

Is there no alternative way? I tried doing this but my localhost:8088 stops working. Not sure if there is an config file where I can change this?

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [May 13, 2020, 2:24am UTC](https://forum.inductiveautomation.com/t/how-to-restore-deleted-images/34683/4 "2020-05-13T02:24:07Z")

</div>

Not sure of alternatives never tried. Once you restore the GWBK you will lose access as it is restarting. Can take about 5 minutes

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [May 13, 2020, 9:15am UTC](https://forum.inductiveautomation.com/t/how-to-restore-deleted-images/34683/5 "2020-05-13T09:15:10Z")

</div>

Have a look in the internal config.idb. You’ll need a sqlite editor, lots of free ones. I personally use SQLiteStudio ([https://sqlitestudio.pl/](https://sqlitestudio.pl/)). I’ve used this method to undelete windows before, even after a week until I noticed.  
The table you’re looking for is called `IMAGES`. It doesn’t look like any backups are kept, so you might need to grab them from one of the backups in the ‘autobackup’ folder.

Also, you might want to **take a backup before mucking around with it**

Note: to edit the table, you’ll need to copy the config.idb file out of the ignition folder and make the change to that file, then copy back. Otherwise you’ll run into read-only issues. Also, you can add both of your database files into SQLiteStudio and have them open side-by-side and simply copy rows between them

I tested this and it works restoring an image I deleted.

---

<div class="post-metadata">

**Author:** ![Mitchell\_Maziarz](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@Mitchell\_Maziarz](https://forum.inductiveautomation.com/u/Mitchell_Maziarz)\
**Post date:** [August 9, 2024, 3:52pm UTC](https://forum.inductiveautomation.com/t/how-to-restore-deleted-images/34683/6 "2024-08-09T15:52:39Z")

</div>

This just saved me hours and hours of work after accidentally deleting hundreds of images. My thanks
