# Help with "zero downtime" setup

**URL:** <https://meta.discourse.org/t/help-with-zero-downtime-setup/163668>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [September 10, 2020, 7:44pm UTC](https://meta.discourse.org/t/help-with-zero-downtime-setup/163668 "2020-09-10T19:44:50Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![LSD2020](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lsd2020/32/165673_2.png) [@LSD2020](https://meta.discourse.org/u/LSD2020)\
**Post date:** [September 10, 2020, 8:23pm UTC](https://meta.discourse.org/t/help-with-zero-downtime-setup/163668/5 "2020-09-10T20:23:48Z")

</div>

Okay. So to ensure I would not have a major issue, do a run in staging and observe results… so I would attempt the above procedure and see if the data container failed?

If so my staging could consist of 1 data, 1 web and production would be 2 data, 2 web. Worst case scenario if attempted first in staging would be to in production:

- set read-only
- cp -rp shared/data1 to shared/data2
- upgrade data2
- down web2
- link data2 to web2
- rebuild web2
- link data2 to web1
- rebuild web1
- set read-only false

Does that make sense?

---

_[View the full topic](https://meta.discourse.org/t/help-with-zero-downtime-setup/163668)._
