# Snapshot and zone

**URL:** <https://discuss.elastic.co/t/snapshot-and-zone/22649>\
**Category:** Elasticsearch\
**Created:** [March 13, 2015, 12:31am UTC](https://discuss.elastic.co/t/snapshot-and-zone/22649 "2015-03-13T00:31:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Foobar\_Geez](https://avatars.discourse-cdn.com/v4/letter/f/ecccb3/32.png) [@Foobar\_Geez](https://discuss.elastic.co/u/Foobar_Geez)\
**Post date:** [March 13, 2015, 12:31am UTC](https://discuss.elastic.co/t/snapshot-and-zone/22649/1 "2015-03-13T00:31:55Z")

</div>

Hello,  
We use one ES cluster with 4 nodes spread across 2 data centers (2  
nodes/DC). Each DC is configured as a zone  
(via cluster.routing.allocation.awareness.attributes).

I would like to use snapshot to backup indexes using type:fs. Per  
[http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html](http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html),  
the requirement is to have a location that is accessible on all data and  
master nodes. Unfortunately, I don't have a location that is accessible  
from both DCs (cross-mounts across DCs is not supported).

Is there a way to backup indexes in a given DC/zone, especially given that  
all the primary and replica shards are available in a DC anyway?

Thanks in advance!

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/72d3b5e9-7afa-44a7-bbc8-7e4665636f19%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/72d3b5e9-7afa-44a7-bbc8-7e4665636f19%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 13, 2015, 4:03am UTC](https://discuss.elastic.co/t/snapshot-and-zone/22649/2 "2015-03-13T04:03:51Z")

</div>

Just use a local mount point, as long as the path is the same it doesn't  
matter.

Also, we do not recommend cross DC clusters, there is a lot of potential  
issues you can run into.

On 12 March 2015 at 17:31, Foobar Geez [foobargeez@gmail.com](mailto:foobargeez@gmail.com) wrote:

> Hello,  
> We use one ES cluster with 4 nodes spread across 2 data centers (2  
> nodes/DC). Each DC is configured as a zone  
> (via cluster.routing.allocation.awareness.attributes).
> 
> I would like to use snapshot to backup indexes using type:fs. Per  
> [Snapshot module | Elasticsearch Guide [8.11] | Elastic](http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html),  
> the requirement is to have a location that is accessible on all data and  
> master nodes. Unfortunately, I don't have a location that is accessible  
> from both DCs (cross-mounts across DCs is not supported).
> 
> Is there a way to backup indexes in a given DC/zone, especially given that  
> all the primary and replica shards are available in a DC anyway?
> 
> Thanks in advance!
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/72d3b5e9-7afa-44a7-bbc8-7e4665636f19%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/72d3b5e9-7afa-44a7-bbc8-7e4665636f19%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/72d3b5e9-7afa-44a7-bbc8-7e4665636f19%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/72d3b5e9-7afa-44a7-bbc8-7e4665636f19%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-Qm4Dz%3D\_gBtkkgRTrgCNAiVw531ZsB8RYNEx9HHpbCaA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-Qm4Dz%3D_gBtkkgRTrgCNAiVw531ZsB8RYNEx9HHpbCaA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Foobar\_Geez](https://avatars.discourse-cdn.com/v4/letter/f/ecccb3/32.png) [@Foobar\_Geez](https://discuss.elastic.co/u/Foobar_Geez)\
**Post date:** [March 13, 2015, 11:57am UTC](https://discuss.elastic.co/t/snapshot-and-zone/22649/3 "2015-03-13T11:57:42Z")

</div>

Thanks. I tried using a local mount point and I have backup created on all  
4 nodes because the primary shards are spread across all nodes. I am  
guessing that I need all 4 nodes online whenever I need to, for e.g.,  
restore a snapshot.

The latency between the DCs is \<2ms, so for all practical reasons, we often  
don't distinguish the DCs. Other than the latency, what other stuff that I  
should be concerned about w.r.to ES cluster spread across DCs?

On Friday, March 13, 2015 at 12:04:23 AM UTC-4, Mark Walkom wrote:

> Just use a local mount point, as long as the path is the same it doesn't  
> matter.
> 
> Also, we do not recommend cross DC clusters, there is a lot of potential  
> issues you can run into.
> 
> On 12 March 2015 at 17:31, Foobar Geez \<[fooba...@gmail.com](mailto:fooba...@gmail.com) \<javascript:\>\>  
> wrote:
> 
> > Hello,  
> > We use one ES cluster with 4 nodes spread across 2 data centers (2  
> > nodes/DC). Each DC is configured as a zone  
> > (via cluster.routing.allocation.awareness.attributes).
> > 
> > I would like to use snapshot to backup indexes using type:fs. Per  
> > [Snapshot module | Elasticsearch Guide [8.11] | Elastic](http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html),  
> > the requirement is to have a location that is accessible on all data and  
> > master nodes. Unfortunately, I don't have a location that is accessible  
> > from both DCs (cross-mounts across DCs is not supported).
> > 
> > Is there a way to backup indexes in a given DC/zone, especially given  
> > that all the primary and replica shards are available in a DC anyway?
> > 
> > Thanks in advance!
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/72d3b5e9-7afa-44a7-bbc8-7e4665636f19%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/72d3b5e9-7afa-44a7-bbc8-7e4665636f19%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/72d3b5e9-7afa-44a7-bbc8-7e4665636f19%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/72d3b5e9-7afa-44a7-bbc8-7e4665636f19%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/ecc73285-dfc5-493e-b113-d9dca1b70228%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ecc73285-dfc5-493e-b113-d9dca1b70228%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 13, 2015, 7:11pm UTC](https://discuss.elastic.co/t/snapshot-and-zone/22649/4 "2015-03-13T19:11:34Z")

</div>

The core issue is latency.

The second one is that if your link drops then chances are you will end up  
with a split brain, unless you have set min masters correctly, or a  
completely inaccessible cluster.

On 13 March 2015 at 04:57, Foobar Geez [foobargeez@gmail.com](mailto:foobargeez@gmail.com) wrote:

> Thanks. I tried using a local mount point and I have backup created on  
> all 4 nodes because the primary shards are spread across all nodes. I am  
> guessing that I need all 4 nodes online whenever I need to, for e.g.,  
> restore a snapshot.
> 
> The latency between the DCs is \<2ms, so for all practical reasons, we  
> often don't distinguish the DCs. Other than the latency, what other stuff  
> that I should be concerned about w.r.to ES cluster spread across DCs?
> 
> On Friday, March 13, 2015 at 12:04:23 AM UTC-4, Mark Walkom wrote:
> 
> > Just use a local mount point, as long as the path is the same it doesn't  
> > matter.
> > 
> > Also, we do not recommend cross DC clusters, there is a lot of potential  
> > issues you can run into.
> > 
> > On 12 March 2015 at 17:31, Foobar Geez [fooba...@gmail.com](mailto:fooba...@gmail.com) wrote:
> > 
> > > Hello,  
> > > We use one ES cluster with 4 nodes spread across 2 data centers (2  
> > > nodes/DC). Each DC is configured as a zone (via cluster.routing.  
> > > allocation.awareness.attributes).
> > > 
> > > I would like to use snapshot to backup indexes using type:fs. Per  
> > > [Elasticsearch Guide | Elastic](http://www.elastic.co/guide/en/elasticsearch/reference/)  
> > > current/modules-snapshots.html, the requirement is to have a location  
> > > that is accessible on all data and master nodes. Unfortunately, I don't  
> > > have a location that is accessible from both DCs (cross-mounts across DCs  
> > > is not supported).
> > > 
> > > Is there a way to backup indexes in a given DC/zone, especially given  
> > > that all the primary and replica shards are available in a DC anyway?
> > > 
> > > Thanks in advance!
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > msgid/elasticsearch/72d3b5e9-7afa-44a7-bbc8-7e4665636f19%  
> > > [40googlegroups.com](http://40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/72d3b5e9-7afa-44a7-bbc8-7e4665636f19%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/72d3b5e9-7afa-44a7-bbc8-7e4665636f19%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/ecc73285-dfc5-493e-b113-d9dca1b70228%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ecc73285-dfc5-493e-b113-d9dca1b70228%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/ecc73285-dfc5-493e-b113-d9dca1b70228%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ecc73285-dfc5-493e-b113-d9dca1b70228%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8efjaONUziH-9pQ%2B32vGO1kwK6OZ08%3D4cNatSRUetLWQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8efjaONUziH-9pQ%2B32vGO1kwK6OZ08%3D4cNatSRUetLWQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:26am UTC](https://discuss.elastic.co/t/snapshot-and-zone/22649/5 "2017-07-06T00:26:53Z")

</div>


