Jason_Wee  
                (Jason Wee)
               
                 
              
                  
                    April 29, 2015,  8:29am
                   
                   
              1 
               
             
            
              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  
  
  
     
In the last year, we saw a tremendous increase in adoption of Elasticsearch by many companies. As more and more companies are using Elasticsearch as an integral part of their business, high availabili...
   
  
    
    
  
  
 
 
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 .
             
            
               
               
               
            
            
           
          
            
              
                dadoonet  
                (David Pilato)
               
                 
              
                  
                    April 29, 2015,  8:32am
                   
                   
              2 
               
             
            
              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
  
  
    
  Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.
   
  
    
    
  
  
 
@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
Elasticsearch Resiliency Status | Elastic  http://www.elastic.co/guide/en/elasticsearch/resiliency/current/index.html  
Rolling Restarts | Elasticsearch: The Definitive Guide [2.x] | Elastic  http://www.elastic.co/guide/en/elasticsearch/guide/current/_rolling_restarts.html  
Introducing Snapshot & Restore | Elastic Blog  https://www.elastic.co/blog/introducing-snapshot-restore  
Elasticsearch Snapshot Restore Overview | Chris Simpson - Software Developer  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  
Creating Elasticsearch Snapshots | PPT  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 .
             
            
               
               
               
            
            
           
          
            
              
                Jason_Wee  
                (Jason Wee)
               
              
                  
                    April 29, 2015,  8:47am
                   
                   
              3 
               
             
            
              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
Elasticsearch Resiliency Status | Elastic 
Rolling Restarts | Elasticsearch: The Definitive Guide [2.x] | Elastic  
Introducing Snapshot & Restore | Elastic Blog  
Elasticsearch Snapshot Restore Overview | Chris Simpson - Software Developer  
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  
Creating Elasticsearch Snapshots | PPT  
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 .