Hi Weal,
In general, it is not recommended to use Solr as a primary storage so it is 
better to store your data somewhere else. That will allow you o reindex if 
needed and also allow you to not store some field in index and make it more 
efficient.
When it comes to your original question, it seems that backup/restore feature 
should be enough for you. If it is single node and static index, you can even 
do it manually - simply backup index folder, and when need to restore on some 
other place, create collection/core with same config, replace index folder with 
one that you backed up and reload collection/core.

Regards,
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/



> On 18 Jan 2018, at 11:06, Wael Kader <w...@softech-lb.com> wrote:
> 
> Hi,
> 
> Its not possible for me to re-index the data in some of my indexes is only
> saved in SOLR.
> I need this solution to make sure that in case the live index fails, I can
> move to the backup or replicated index.
> 
> Thanks,
> Wael
> 
> On Thu, Jan 18, 2018 at 11:41 AM, Charlie Hull <char...@flax.co.uk> wrote:
> 
>> On 18/01/2018 09:21, Wael Kader wrote:
>> 
>>> Hello,
>>> 
>>> Whats the best way to do a backup of the SOLR data.
>>> I have a single node solr server and I want to always keep a copy of the
>>> data I have.
>>> 
>>> Is replication an option for what I want ?
>>> 
>>> I would like to get some tutorials and papers if possible on the method
>>> that should be used in case its backup or replication or anything else.
>>> 
>>> 
>> Hi Wael,
>> 
>> Have you considered backing up the source data instead? You can always
>> re-index to re-create the Solr data.
>> 
>> Replication will certainly allow you to maintain a copy of the Solr data,
>> either so you can handle more search traffic by load balancing between the
>> two, or to provide a failover capability in the case of a server failure.
>> But this isn't a backup in the traditional sense. You shouldn't consider
>> Solr as your 'source of truth' unless for some reason it is impossible to
>> re-index.
>> 
>> Perhaps if you could let us know why you think you need a backup we can
>> suggest the best solution.
>> 
>> Cheers
>> 
>> Charlie
>> 
>> --
>> Charlie Hull
>> Flax - Open Source Enterprise Search
>> 
>> tel/fax: +44 (0)8700 118334
>> mobile:  +44 (0)7767 825828
>> web: www.flax.co.uk
>> 
> 
> 
> 
> -- 
> Regards,
> Wael

Reply via email to