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 Furkan KAMACI <fu...@gmail.com> on 2013/05/19 16:16:42 UTC

Re: How To Make Index Backup at SolrCloud?

Hi Otis;

You said:

"which will return a completed on date when your backup is done"

which field is that?

2013/4/26 Otis Gospodnetic <ot...@gmail.com>

> You can use the index backup command that's part of index replication,
> check the Wiki.
>
> Otis
> Solr & ElasticSearch Support
> http://sematext.com/
> On Apr 25, 2013 5:23 PM, "Furkan KAMACI" <fu...@gmail.com> wrote:
>
> > I use SolrCloud. Let's assume that I want to move all indexes from one
> > place to another. There maybe two reasons for that:
> >
> > First one is that: I will close all my system and I will use new machines
> > with previous indexes (if it is a must they may have same network
> topology)
> > at anywhere else after some time later.
> > Second one is that: I know that SolrCloud handles failures but I will
> back
> > up my indexes for a disaster event.
> >
> > How can I back up my indexes? I know that I can start up new nodes and I
> > can close the old ones so I can move my indexes to other machines.
> However
> > how can I do such kind of backup (should I just copy data folder of Solr
> > nodes and put them to new Solr nodes after I change Zookeeper
> > configuration)?
> >
> > What folks do?
> >
>

Re: How To Make Index Backup at SolrCloud?

Posted by Upayavira <uv...@odoko.co.uk>.
>From looking at the ReplicationHandler code, it looks like if you hit it
with a 'details' request, it'll show you the details of the most recent
backup, including file count, status and completion time.

Upayavira

On Mon, May 20, 2013, at 08:46 AM, Furkan KAMACI wrote:
> Ooops, you didn't say it OK. It is at Timothy's answer.
> 
> 2013/5/20 Otis Gospodnetic <ot...@gmail.com>
> 
> > Hm, did I really say that?  What was the context?  Because I don't see
> > that in my response below....
> >
> > Otis
> > --
> > Search Analytics - http://sematext.com/search-analytics/index.html
> > SOLR Performance Monitoring - http://sematext.com/spm/index.html
> >
> >
> >
> >
> >
> > On Sun, May 19, 2013 at 10:16 AM, Furkan KAMACI <fu...@gmail.com>
> > wrote:
> > > Hi Otis;
> > >
> > > You said:
> > >
> > > "which will return a completed on date when your backup is done"
> > >
> > > which field is that?
> > >
> > > 2013/4/26 Otis Gospodnetic <ot...@gmail.com>
> > >
> > >> You can use the index backup command that's part of index replication,
> > >> check the Wiki.
> > >>
> > >> Otis
> > >> Solr & ElasticSearch Support
> > >> http://sematext.com/
> > >> On Apr 25, 2013 5:23 PM, "Furkan KAMACI" <fu...@gmail.com>
> > wrote:
> > >>
> > >> > I use SolrCloud. Let's assume that I want to move all indexes from one
> > >> > place to another. There maybe two reasons for that:
> > >> >
> > >> > First one is that: I will close all my system and I will use new
> > machines
> > >> > with previous indexes (if it is a must they may have same network
> > >> topology)
> > >> > at anywhere else after some time later.
> > >> > Second one is that: I know that SolrCloud handles failures but I will
> > >> back
> > >> > up my indexes for a disaster event.
> > >> >
> > >> > How can I back up my indexes? I know that I can start up new nodes
> > and I
> > >> > can close the old ones so I can move my indexes to other machines.
> > >> However
> > >> > how can I do such kind of backup (should I just copy data folder of
> > Solr
> > >> > nodes and put them to new Solr nodes after I change Zookeeper
> > >> > configuration)?
> > >> >
> > >> > What folks do?
> > >> >
> > >>
> >

Re: How To Make Index Backup at SolrCloud?

Posted by Furkan KAMACI <fu...@gmail.com>.
OK, I found it, no problem.

2013/5/20 Furkan KAMACI <fu...@gmail.com>

> Ooops, you didn't say it OK. It is at Timothy's answer.
>
>
> 2013/5/20 Otis Gospodnetic <ot...@gmail.com>
>
>> Hm, did I really say that?  What was the context?  Because I don't see
>> that in my response below....
>>
>> Otis
>> --
>> Search Analytics - http://sematext.com/search-analytics/index.html
>> SOLR Performance Monitoring - http://sematext.com/spm/index.html
>>
>>
>>
>>
>>
>> On Sun, May 19, 2013 at 10:16 AM, Furkan KAMACI <fu...@gmail.com>
>> wrote:
>> > Hi Otis;
>> >
>> > You said:
>> >
>> > "which will return a completed on date when your backup is done"
>> >
>> > which field is that?
>> >
>> > 2013/4/26 Otis Gospodnetic <ot...@gmail.com>
>> >
>> >> You can use the index backup command that's part of index replication,
>> >> check the Wiki.
>> >>
>> >> Otis
>> >> Solr & ElasticSearch Support
>> >> http://sematext.com/
>> >> On Apr 25, 2013 5:23 PM, "Furkan KAMACI" <fu...@gmail.com>
>> wrote:
>> >>
>> >> > I use SolrCloud. Let's assume that I want to move all indexes from
>> one
>> >> > place to another. There maybe two reasons for that:
>> >> >
>> >> > First one is that: I will close all my system and I will use new
>> machines
>> >> > with previous indexes (if it is a must they may have same network
>> >> topology)
>> >> > at anywhere else after some time later.
>> >> > Second one is that: I know that SolrCloud handles failures but I will
>> >> back
>> >> > up my indexes for a disaster event.
>> >> >
>> >> > How can I back up my indexes? I know that I can start up new nodes
>> and I
>> >> > can close the old ones so I can move my indexes to other machines.
>> >> However
>> >> > how can I do such kind of backup (should I just copy data folder of
>> Solr
>> >> > nodes and put them to new Solr nodes after I change Zookeeper
>> >> > configuration)?
>> >> >
>> >> > What folks do?
>> >> >
>> >>
>>
>
>

Re: How To Make Index Backup at SolrCloud?

Posted by Furkan KAMACI <fu...@gmail.com>.
Ooops, you didn't say it OK. It is at Timothy's answer.

2013/5/20 Otis Gospodnetic <ot...@gmail.com>

> Hm, did I really say that?  What was the context?  Because I don't see
> that in my response below....
>
> Otis
> --
> Search Analytics - http://sematext.com/search-analytics/index.html
> SOLR Performance Monitoring - http://sematext.com/spm/index.html
>
>
>
>
>
> On Sun, May 19, 2013 at 10:16 AM, Furkan KAMACI <fu...@gmail.com>
> wrote:
> > Hi Otis;
> >
> > You said:
> >
> > "which will return a completed on date when your backup is done"
> >
> > which field is that?
> >
> > 2013/4/26 Otis Gospodnetic <ot...@gmail.com>
> >
> >> You can use the index backup command that's part of index replication,
> >> check the Wiki.
> >>
> >> Otis
> >> Solr & ElasticSearch Support
> >> http://sematext.com/
> >> On Apr 25, 2013 5:23 PM, "Furkan KAMACI" <fu...@gmail.com>
> wrote:
> >>
> >> > I use SolrCloud. Let's assume that I want to move all indexes from one
> >> > place to another. There maybe two reasons for that:
> >> >
> >> > First one is that: I will close all my system and I will use new
> machines
> >> > with previous indexes (if it is a must they may have same network
> >> topology)
> >> > at anywhere else after some time later.
> >> > Second one is that: I know that SolrCloud handles failures but I will
> >> back
> >> > up my indexes for a disaster event.
> >> >
> >> > How can I back up my indexes? I know that I can start up new nodes
> and I
> >> > can close the old ones so I can move my indexes to other machines.
> >> However
> >> > how can I do such kind of backup (should I just copy data folder of
> Solr
> >> > nodes and put them to new Solr nodes after I change Zookeeper
> >> > configuration)?
> >> >
> >> > What folks do?
> >> >
> >>
>

Re: How To Make Index Backup at SolrCloud?

Posted by Otis Gospodnetic <ot...@gmail.com>.
Hm, did I really say that?  What was the context?  Because I don't see
that in my response below....

Otis
--
Search Analytics - http://sematext.com/search-analytics/index.html
SOLR Performance Monitoring - http://sematext.com/spm/index.html





On Sun, May 19, 2013 at 10:16 AM, Furkan KAMACI <fu...@gmail.com> wrote:
> Hi Otis;
>
> You said:
>
> "which will return a completed on date when your backup is done"
>
> which field is that?
>
> 2013/4/26 Otis Gospodnetic <ot...@gmail.com>
>
>> You can use the index backup command that's part of index replication,
>> check the Wiki.
>>
>> Otis
>> Solr & ElasticSearch Support
>> http://sematext.com/
>> On Apr 25, 2013 5:23 PM, "Furkan KAMACI" <fu...@gmail.com> wrote:
>>
>> > I use SolrCloud. Let's assume that I want to move all indexes from one
>> > place to another. There maybe two reasons for that:
>> >
>> > First one is that: I will close all my system and I will use new machines
>> > with previous indexes (if it is a must they may have same network
>> topology)
>> > at anywhere else after some time later.
>> > Second one is that: I know that SolrCloud handles failures but I will
>> back
>> > up my indexes for a disaster event.
>> >
>> > How can I back up my indexes? I know that I can start up new nodes and I
>> > can close the old ones so I can move my indexes to other machines.
>> However
>> > how can I do such kind of backup (should I just copy data folder of Solr
>> > nodes and put them to new Solr nodes after I change Zookeeper
>> > configuration)?
>> >
>> > What folks do?
>> >
>>