You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by elmerfudd <na...@012.net.il> on 2014/11/24 15:48:18 UTC

Backuping SolrCloud

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

Posted by Erick Erickson <er...@gmail.com>.
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 <vp...@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

Posted by elmerfudd <na...@012.net.il>.
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.

Re: Backuping SolrCloud

Posted by Noble Paul <no...@gmail.com>.
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 <ra...@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 <vp...@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

Re: Backuping SolrCloud

Posted by ralph tice <ra...@gmail.com>.
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 <vp...@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

Posted by Vivek Pathak <vp...@orgmeta.com>.
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.