Hello Kaushal!

One of my Solr colleagues just mentioned a possible solution. What about
using the solr admin script? With recursive option, like "solr zk -r"

e.g.

bin/solr zk cp -r file:/apache/confgs/whatever/conf zk:/configs/myconf -z
111.222.333.444:2181

https://solr.apache.org/guide/8_11/solr-control-script-reference.html#copy-between-local-files-and-zookeeper-znodes

Isn't this what you are looking for?

Best regards,
Máté

On Fri, Sep 16, 2022 at 8:23 PM Shawn Heisey <[email protected]>
wrote:

> On 9/16/22 09:37, Szalay-Bekő Máté wrote:
> > But actually much better would be to do the backup and restore on Solr
> > level.
>
> Solr doesn't currently have this capability.  We do have functionality
> that can download index configs from ZK to the filesystem, but not all
> the cluster contents in ZK.
>
> If the ZK is dedicated to Solr, I believe you can copy the entire
> "version-2" directory from the ZK datadir and install it in new ZK nodes
> while they are down, then start them up.
>
> Thanks,
> Shawn
>
>

Reply via email to