# Empty folders missing in gateway backup/reztore

**URL:** <https://forum.inductiveautomation.com/t/empty-folders-missing-in-gateway-backup-reztore/82625>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 3, 2023, 2:20am UTC](https://forum.inductiveautomation.com/t/empty-folders-missing-in-gateway-backup-reztore/82625 "2023-12-03T02:20:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eddie\_johnson](https://avatars.discourse-cdn.com/v4/letter/e/57b2e6/32.png) [@eddie\_johnson](https://forum.inductiveautomation.com/u/eddie_johnson)\
**Post date:** [December 3, 2023, 2:20am UTC](https://forum.inductiveautomation.com/t/empty-folders-missing-in-gateway-backup-reztore/82625/1 "2023-12-03T02:20:34Z")

</div>

I have a project with several folders created under Perspective\Views. Some of the folders are empty but there for future development.  
When I create a full gateway backup of my live server then restore it to another machine, tbe empty folders aren't created on the restore. Is this by design? Might something else be missing?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 3, 2023, 4:23am UTC](https://forum.inductiveautomation.com/t/empty-folders-missing-in-gateway-backup-reztore/82625/2 "2023-12-03T04:23:50Z")

</div>

Normal behavior of zip files. They don't store folders at all, just files. The folders are an artifact solely of the names of the files in the zip.

Put a zero-length file in the empty folders so that file will be included in the zip. Which will therefore have the folder name.

---

<div class="post-metadata">

**Author:** ![eddie\_johnson](https://avatars.discourse-cdn.com/v4/letter/e/57b2e6/32.png) [@eddie\_johnson](https://forum.inductiveautomation.com/u/eddie_johnson)\
**Post date:** [December 3, 2023, 4:55am UTC](https://forum.inductiveautomation.com/t/empty-folders-missing-in-gateway-backup-reztore/82625/3 "2023-12-03T04:55:18Z")

</div>

Thanks.
