Unfortunately no, Solr does not provide that option. The 'location' must
exist before taking the backup, no matter which backup repository you are
using.

- Houston

On Wed, Jan 19, 2022 at 10:09 AM Yirmiyahu Fischer <
[email protected]> wrote:

> When I send to backup request to solr, such as
>
>
> http://localhost:8393/solr/mycore/replication?command=backup&numberToKeep=1&wt=json&location=/var/tmp/mycore
> If /var/tmp/mycore does not exists, the request returns an error:
> "Directory does not exist:
> file:///var/tmp/mycore/snapshot.20220119122912425"
> Is it possible to direct solr to create the directory if it does not exist?
>
>
> *Yirmiyahu Fischer*
>
> *Senior Developer |  **Tel**:* *03-9578900 *
>
> *E**mail: **[email protected]* <[email protected]>* | **W*
> *eb: **www.signature-it.com* <http://www.signature-it.com/>
>

Reply via email to