Snapshot & Restore Frequency


(Alex Philipp) #1

According to the docs, snapshot operations are online and only store diffs.
Is there any particular reason to not run them at a fairly high frequency?
E.g. every 15 minutes?

Alex

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/60c3365b-7dec-487b-be45-c174ef992329%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


#2

Alex,

Yes snapshots are online and yes they do store diffs, but only after the first snapshot which by definition has to copy everything.

As to the question of how frequent to run them, that really depends on your tolerance for loss. The added operational costs are reads from disk and bytes sent over the wire. You can tune this behavior with max_snapshot_bytes_per_sec [1].

Andrew

  1. http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-snapshots.html#_snapshot

On May 6, 2014, at 3:25 PM, Alex Philipp alex@snapfiber.com wrote:

According to the docs, snapshot operations are online and only store diffs. Is there any particular reason to not run them at a fairly high frequency? E.g. every 15 minutes?

Alex

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/60c3365b-7dec-487b-be45-c174ef992329%40googlegroups.com.
For more options, visit 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/D0F14488-BDF9-495F-8C9F-37BFA0A2AC87%40elasticsearch.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3