lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Collection API Snapshots and Restore
Date Sat, 10 Feb 2018 18:33:49 GMT
I really have no idea how that would work. If you don't copy the index
somewhere, you simply can't restore it. If you're thinking about
selectively copying index files out then back in, you'll have to
somehow lock it at point X until your delta-copy is done.

"read the snapshot's XML description and manually delete files not
part of that snapshot on each core."

How would that deal with segment files that have been added?

Best,
Erick

On Fri, Feb 9, 2018 at 9:56 PM, Nicolas BĂ©lisle
<nicolas.belisle@doculibre.com> wrote:
> It is possible to restore a snapshot without exporting it using the
> Collection API ?
>
> We have a very large index and want to provide a quick option for restore
> (instead of exporting + restoring + fixing the topology).
>
> I think about developing a script that would read the snapshot's XML
> description and manually delete files not part of that snapshot on each
> core.
>
> Is there another solution ?
>
> Nicolas

Mime
View raw message