# Gateway File Storage Location

**URL:** <https://forum.inductiveautomation.com/t/gateway-file-storage-location/59047>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [April 29, 2022, 11:55am UTC](https://forum.inductiveautomation.com/t/gateway-file-storage-location/59047 "2022-04-29T11:55:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joe\_Kelly](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joe_kelly/32/30990_2.png) [@Joe\_Kelly](https://forum.inductiveautomation.com/u/Joe_Kelly)\
**Post date:** [April 29, 2022, 11:55am UTC](https://forum.inductiveautomation.com/t/gateway-file-storage-location/59047/1 "2022-04-29T11:55:19Z")

</div>

I want to save a text file that holds a small HTML page on my gateway for an automated email that goes out daily. I don’t want to hard-code the HTML in the script, so I figured a text file would be the best way to do it.

Where is the best place to store the HTML file on the gateway where it will be included in gateway backups?

---

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [April 29, 2022, 1:28pm UTC](https://forum.inductiveautomation.com/t/gateway-file-storage-location/59047/2 "2022-04-29T13:28:42Z")

</div>

I often store my own config files on the gateway in a directory called `data/configs`, and they persist in backups. So I would say inside the data folder, but I would give it another level to delineate it from the other files there, for cleanliness.

---

<div class="post-metadata">

**Author:** ![Joe\_Kelly](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joe_kelly/32/30990_2.png) [@Joe\_Kelly](https://forum.inductiveautomation.com/u/Joe_Kelly)\
**Post date:** [April 29, 2022, 1:41pm UTC](https://forum.inductiveautomation.com/t/gateway-file-storage-location/59047/3 "2022-04-29T13:41:19Z")

</div>

OK, that’s what I was thinking, I just wanted to see if others had success with backups. Thanks!
