Elasticsearch 0.90 backup/snapshot

Hello,

I was reading through how exactly to do backup/snapshot for elasticsearch
0.90.7. Unfortunately, from the documentation, it appear that to snapshot ,
elasticsearch that give that feature is 1.x and onward.

Question, for elasticsearch 0.90, how do you do snapshot/backup, just in
case when upgrading, something went bad, the index can be restore? Would
recursive copy of the data directory to another directory is sufficient and
serve as backup and to restore would just copy back the backup index?

Thank you.

Jason

http://www.elastic.co/guide/en/elasticsearch/resiliency/current/index.html
http://www.elastic.co/guide/en/elasticsearch/guide/current/_rolling_restarts.html


http://chrissimpson.co.uk/elasticsearch-snapshot-restore-api.html
http://vichargrave.com/creating-elasticsearch-snapshots/
https://www.found.no/documentation/backup/snapshot-restore/

http://dopey.io/elasticsearch-snapshot.html

http://www.asktoapps.com/backup-elasticsearch-with-snapshot-and-restore/

--
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/1865d55e-11ce-4919-ac75-fa9168a30b92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yes. When you cluster is stopped, backup all your /data dirs for each node and you have a backup.

Then upgrade.

--
David Pilato - Developer | Evangelist
elastic.co
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr https://twitter.com/elasticsearchfr | @scrutmydocs https://twitter.com/scrutmydocs

Le 29 avr. 2015 à 10:29, Jason Wee peichieh@gmail.com a écrit :

Hello,

I was reading through how exactly to do backup/snapshot for elasticsearch 0.90.7. Unfortunately, from the documentation, it appear that to snapshot , elasticsearch that give that feature is 1.x and onward.

Question, for elasticsearch 0.90, how do you do snapshot/backup, just in case when upgrading, something went bad, the index can be restore? Would recursive copy of the data directory to another directory is sufficient and serve as backup and to restore would just copy back the backup index?

Thank you.

Jason

http://www.elastic.co/guide/en/elasticsearch/resiliency/current/index.html http://www.elastic.co/guide/en/elasticsearch/resiliency/current/index.html
http://www.elastic.co/guide/en/elasticsearch/guide/current/_rolling_restarts.html http://www.elastic.co/guide/en/elasticsearch/guide/current/_rolling_restarts.html
https://www.elastic.co/blog/introducing-snapshot-restore https://www.elastic.co/blog/introducing-snapshot-restore
http://chrissimpson.co.uk/elasticsearch-snapshot-restore-api.html http://chrissimpson.co.uk/elasticsearch-snapshot-restore-api.html
http://vichargrave.com/creating-elasticsearch-snapshots/ http://vichargrave.com/creating-elasticsearch-snapshots/
https://www.found.no/documentation/backup/snapshot-restore/ https://www.found.no/documentation/backup/snapshot-restore/
http://architects.dzone.com/articles/introduction-elasticsearch-0 http://architects.dzone.com/articles/introduction-elasticsearch-0
http://dopey.io/elasticsearch-snapshot.html http://dopey.io/elasticsearch-snapshot.html
http://www.slideshare.net/catwallader/creating-elasticsearch-snapshots http://www.slideshare.net/catwallader/creating-elasticsearch-snapshots
http://www.asktoapps.com/backup-elasticsearch-with-snapshot-and-restore/ http://www.asktoapps.com/backup-elasticsearch-with-snapshot-and-restore/

--
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/1865d55e-11ce-4919-ac75-fa9168a30b92%40googlegroups.com https://groups.google.com/d/msgid/elasticsearch/1865d55e-11ce-4919-ac75-fa9168a30b92%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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/C8B24D7E-30DA-4E21-8198-99E94C542733%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Okay David, then I will write a script to do just that.

Thank you again.

Jason

On Wed, Apr 29, 2015 at 4:32 PM, David Pilato david@pilato.fr wrote:

Yes. When you cluster is stopped, backup all your /data dirs for each node
and you have a backup.

Then upgrade.

--
David Pilato - Developer | Evangelist
elastic.co http://elastic.co
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr | @scrutmydocs
https://twitter.com/scrutmydocs

Le 29 avr. 2015 à 10:29, Jason Wee peichieh@gmail.com a écrit :

Hello,

I was reading through how exactly to do backup/snapshot for elasticsearch
0.90.7. Unfortunately, from the documentation, it appear that to snapshot ,
elasticsearch that give that feature is 1.x and onward.

Question, for elasticsearch 0.90, how do you do snapshot/backup, just in
case when upgrading, something went bad, the index can be restore? Would
recursive copy of the data directory to another directory is sufficient and
serve as backup and to restore would just copy back the backup index?

Thank you.

Jason

http://www.elastic.co/guide/en/elasticsearch/resiliency/current/index.html

http://www.elastic.co/guide/en/elasticsearch/guide/current/_rolling_restarts.html
https://www.elastic.co/blog/introducing-snapshot-restore
http://chrissimpson.co.uk/elasticsearch-snapshot-restore-api.html
http://vichargrave.com/creating-elasticsearch-snapshots/
https://www.found.no/documentation/backup/snapshot-restore/
http://architects.dzone.com/articles/introduction-elasticsearch-0
http://dopey.io/elasticsearch-snapshot.html
http://www.slideshare.net/catwallader/creating-elasticsearch-snapshots
http://www.asktoapps.com/backup-elasticsearch-with-snapshot-and-restore/

--
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/1865d55e-11ce-4919-ac75-fa9168a30b92%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/1865d55e-11ce-4919-ac75-fa9168a30b92%40googlegroups.com?utm_medium=email&utm_source=footer
.
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/C8B24D7E-30DA-4E21-8198-99E94C542733%40pilato.fr
https://groups.google.com/d/msgid/elasticsearch/C8B24D7E-30DA-4E21-8198-99E94C542733%40pilato.fr?utm_medium=email&utm_source=footer
.

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/CAHO4ity%2BvnO1yo84ggrML%2BJUTxzDphcMX%2B2R-SB2xe%3DoBx6brA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.