# Docker scheduled gateway backups

**URL:** <https://forum.inductiveautomation.com/t/docker-scheduled-gateway-backups/78211>\
**Category:** Ignition\
**Tags:** docker, ignition81\
**Created:** [August 22, 2023, 10:25am UTC](https://forum.inductiveautomation.com/t/docker-scheduled-gateway-backups/78211 "2023-08-22T10:25:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vidar\_Kro](https://avatars.discourse-cdn.com/v4/letter/v/ba9def/32.png) [@Vidar\_Kro](https://forum.inductiveautomation.com/u/Vidar_Kro)\
**Post date:** [August 22, 2023, 10:25am UTC](https://forum.inductiveautomation.com/t/docker-scheduled-gateway-backups/78211/1 "2023-08-22T10:25:31Z")

</div>

When running kcollins/ignition in docker. What should the path in (_Config-\>System-\>Gateway Settings_ in the Gateway webpage) be? My volume is named ignition and is mounted at /var/lib/ignition/data. I want the backup folder inside the ignition volume or a separate volume. The backup files are now placed at this path: /files/var/lib/docker/overlay2/e37ff94c800f9a75423debbbceda331fc3ef5fe0c1785345000fa6fbb084bf8f/diff/usr/local/share/ignition/\backup/

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 22, 2023, 2:05pm UTC](https://forum.inductiveautomation.com/t/docker-scheduled-gateway-backups/78211/2 "2023-08-22T14:05:47Z")

</div>

I'll invoke Cunningham's law here: it probably doesn't make sense to run scheduled backups (inside Ignition). By definition, Docker is all about isolating services from each other and restricting their ability to interoperate. Instead of trying to back up from inside the container, you should instead be doing your management/orchestration tasks from the _host_, and treating the container image as static outside of your pre-mounted data volume.

---

<div class="post-metadata">

**Author:** ![Vidar\_Kro](https://avatars.discourse-cdn.com/v4/letter/v/ba9def/32.png) [@Vidar\_Kro](https://forum.inductiveautomation.com/u/Vidar_Kro)\
**Post date:** [August 23, 2023, 6:23am UTC](https://forum.inductiveautomation.com/t/docker-scheduled-gateway-backups/78211/3 "2023-08-23T06:23:54Z")

</div>

That makes sense I was just a bit confused from a previous post by K. Collins on the forum where he describes this method. So the propper way of handeling this is just to backup the whole volume instead? [https://forum.inductiveautomation.com/t/lost-all-my-work-in-a-docker-instance/44314/14?u=vidar\_kro](https://forum.inductiveautomation.com/t/lost-all-my-work-in-a-docker-instance/44314/14)
