elasticsearch 0.90 backup/snapshot

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

elasticsearch 0.90 backup/snapshot

Jason Wee
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



--
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 [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|

Re: elasticsearch 0.90 backup/snapshot

dadoonet
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 





Le 29 avr. 2015 à 10:29, Jason Wee <[hidden email]> 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




--
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 [hidden email].
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.

--
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 [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|

Re: elasticsearch 0.90 backup/snapshot

Jason Wee
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 <[hidden email]> 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 





Le 29 avr. 2015 à 10:29, Jason Wee <[hidden email]> 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




--
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 [hidden email].
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.

--
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 [hidden email].
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.

--
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 [hidden email].
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.