# Undo a tag folder delete

**URL:** <https://forum.inductiveautomation.com/t/undo-a-tag-folder-delete/91639>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [June 10, 2024, 6:04pm UTC](https://forum.inductiveautomation.com/t/undo-a-tag-folder-delete/91639 "2024-06-10T18:04:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Caleb\_Iwen](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@Caleb\_Iwen](https://forum.inductiveautomation.com/u/Caleb_Iwen)\
**Post date:** [June 10, 2024, 6:04pm UTC](https://forum.inductiveautomation.com/t/undo-a-tag-folder-delete/91639/1 "2024-06-10T18:04:22Z")

</div>

I need to know how to recover a tag folder I accidentally deleted.

I had the folder highlighted, left for a few minutes, came back and tried to delete the highlighted component in the main window, and didn't think about fact that I would need to re-focus the main since the component stays highlighted. I guess I beta-waved the confirmation dialogue.

Anyway I of course immediately tried undo but that doesn't work on the tag window for some reason, and apparently rollbacks were removed? It's really hard for me to believe there's not a way to undo a standard delete but I can't find anything that works.

---

<div class="post-metadata">

**Author:** ![Steven\_Cheron](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@Steven\_Cheron](https://forum.inductiveautomation.com/u/Steven_Cheron)\
**Post date:** [June 10, 2024, 6:39pm UTC](https://forum.inductiveautomation.com/t/undo-a-tag-folder-delete/91639/2 "2024-06-10T18:39:18Z")

</div>

Unfortunatly, the tag are in the gateway. Any changed take immediatly effect in the gateway, and all client using it. There are no way to undo a modification, a suppression in the tags.

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [June 10, 2024, 6:40pm UTC](https://forum.inductiveautomation.com/t/undo-a-tag-folder-delete/91639/3 "2024-06-10T18:40:16Z")

</div>

> [@Caleb\_Iwen](#):
>
> I need to know how to recover a tag folder I accidentally deleted.

Unless you have a Gateway Backup, once it's gone, it's gone.

Tags are global resources and are not a project resource, so unless you have a previous backup of the gateway, or export of the tags, then you are unfortunately out of luck.

---

<div class="post-metadata">

**Author:** ![Brandon\_Peterson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brandon_peterson/32/32960_2.png) [@Brandon\_Peterson](https://forum.inductiveautomation.com/u/Brandon_Peterson)\
**Post date:** [June 10, 2024, 8:25pm UTC](https://forum.inductiveautomation.com/t/undo-a-tag-folder-delete/91639/4 "2024-06-10T20:25:14Z")

</div>

If you haven't already, I'd highly recommend setting up scheduled gateway backups. It's super easy to set up, and it can really save you if something like this happens.

> **[Gateway Settings | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/platform/gateway/config/gateway-settings#scheduled-backup-settings)**
>
> Gateway Settings Property Reference

---

<div class="post-metadata">

**Author:** ![Louis\_Whitburn](https://avatars.discourse-cdn.com/v4/letter/l/8baadc/32.png) [@Louis\_Whitburn](https://forum.inductiveautomation.com/u/Louis_Whitburn)\
**Post date:** [June 10, 2024, 8:50pm UTC](https://forum.inductiveautomation.com/t/undo-a-tag-folder-delete/91639/5 "2024-06-10T20:50:22Z")

</div>

There might be some gateway config.idb backups in the `data/db/autobackup` folder (in the Ignition install folder). The config.idb file is a SQLite database which contains the gateway config (including tag and UDT definitions). I think these backups are updated every time a change is made to the gateway config (including tag edits) and only the 5 most recent copies are stored so you might be out of luck but it's worth a shot.  
Note that these aren't full gateway backups, you'll still want to enable scheduled backups like others have recommended.
