Re: Backuping SolrCloud

2014-11-25 Thread elmerfudd
Thanks Ralph , Is it mandatory to stop indexing while processing backup? 
I didn't really understand the script - It's not iterating through all the
shards an I thought it will.

Thank you all for helping , I will keep track and contribute to the open
JIRAs.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Backuping-SolrCloud-tp4170624p4170783.html
Sent from the Solr - User mailing list archive at Nabble.com.


Backuping SolrCloud

2014-11-24 Thread elmerfudd
Hi, I'm looking for a built-in SolrCloud backup mechanism.
I want to backup my Index (scheduled / manual backups) while Indexing and
searching.

What is the proper way to perform this backup-restore task?


Thanks.
 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Backuping-SolrCloud-tp4170624.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Backuping SolrCloud

2014-11-24 Thread Vivek Pathak
I was able to get very good backup procedure by having cron job perform compact 
on each shard and then copy out the physical shard (the full lucene index 
directory to a backup server)

Updates would need to be stopped during this period.   And restore would be as 
simple as copying in the backed up shard and restarting solr 

 On Nov 24, 2014, at 9:48 AM, elmerfudd na...@012.net.il wrote:
 
 Hi, I'm looking for a built-in SolrCloud backup mechanism.
 I want to backup my Index (scheduled / manual backups) while Indexing and
 searching.
 
 What is the proper way to perform this backup-restore task?
 
 
 Thanks.
 
 
 
 
 --
 View this message in context: 
 http://lucene.472066.n3.nabble.com/Backuping-SolrCloud-tp4170624.html
 Sent from the Solr - User mailing list archive at Nabble.com.


Re: Backuping SolrCloud

2014-11-24 Thread Erick Erickson
There are some JIRAs out there for better backup/restore for SolrCloud
situations, but
nothing has been committed yet that I know of.

Best,
Erick

On Mon, Nov 24, 2014 at 7:45 AM, Vivek Pathak vpat...@orgmeta.com wrote:
 I was able to get very good backup procedure by having cron job perform 
 compact on each shard and then copy out the physical shard (the full lucene 
 index directory to a backup server)

 Updates would need to be stopped during this period.   And restore would be 
 as simple as copying in the backed up shard and restarting solr

 On Nov 24, 2014, at 9:48 AM, elmerfudd na...@012.net.il wrote:

 Hi, I'm looking for a built-in SolrCloud backup mechanism.
 I want to backup my Index (scheduled / manual backups) while Indexing and
 searching.

 What is the proper way to perform this backup-restore task?


 Thanks.




 --
 View this message in context: 
 http://lucene.472066.n3.nabble.com/Backuping-SolrCloud-tp4170624.html
 Sent from the Solr - User mailing list archive at Nabble.com.


Re: Backuping SolrCloud

2014-11-24 Thread ralph tice
I have a writeup of how to perform safe backups here:
https://gist.github.com/ralph-tice/887414a7f8082a0cb828

There are some tickets around this work to further the ease of
backups, especially https://issues.apache.org/jira/browse/SOLR-5750

On Mon, Nov 24, 2014 at 9:45 AM, Vivek Pathak vpat...@orgmeta.com wrote:
 I was able to get very good backup procedure by having cron job perform 
 compact on each shard and then copy out the physical shard (the full lucene 
 index directory to a backup server)

 Updates would need to be stopped during this period.   And restore would be 
 as simple as copying in the backed up shard and restarting solr

 On Nov 24, 2014, at 9:48 AM, elmerfudd na...@012.net.il wrote:

 Hi, I'm looking for a built-in SolrCloud backup mechanism.
 I want to backup my Index (scheduled / manual backups) while Indexing and
 searching.

 What is the proper way to perform this backup-restore task?


 Thanks.




 --
 View this message in context: 
 http://lucene.472066.n3.nabble.com/Backuping-SolrCloud-tp4170624.html
 Sent from the Solr - User mailing list archive at Nabble.com.


Re: Backuping SolrCloud

2014-11-24 Thread Noble Paul
Hi,
There is a ticket for the same .

https://issues.apache.org/jira/browse/SOLR-5750

Would you mind contributing to the discussion there?


On Mon, Nov 24, 2014 at 11:07 AM, ralph tice ralph.t...@gmail.com wrote:

 I have a writeup of how to perform safe backups here:
 https://gist.github.com/ralph-tice/887414a7f8082a0cb828

 There are some tickets around this work to further the ease of
 backups, especially https://issues.apache.org/jira/browse/SOLR-5750

 On Mon, Nov 24, 2014 at 9:45 AM, Vivek Pathak vpat...@orgmeta.com wrote:
  I was able to get very good backup procedure by having cron job perform
 compact on each shard and then copy out the physical shard (the full lucene
 index directory to a backup server)
 
  Updates would need to be stopped during this period.   And restore would
 be as simple as copying in the backed up shard and restarting solr
 
  On Nov 24, 2014, at 9:48 AM, elmerfudd na...@012.net.il wrote:
 
  Hi, I'm looking for a built-in SolrCloud backup mechanism.
  I want to backup my Index (scheduled / manual backups) while Indexing
 and
  searching.
 
  What is the proper way to perform this backup-restore task?
 
 
  Thanks.
 
 
 
 
  --
  View this message in context:
 http://lucene.472066.n3.nabble.com/Backuping-SolrCloud-tp4170624.html
  Sent from the Solr - User mailing list archive at Nabble.com.




-- 
-
Noble Paul