You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Jan Høydahl <ja...@cominvent.com> on 2021/03/08 13:07:19 UTC
Re: Solr backup no longer writes to a UNC path
Hi,
That's right. UNC paths are always disallowed since 8.6. See https://solr.apache.org/guide/8_6/solr-upgrade-notes.html#solr-8-6 and https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/core/SolrPaths.java#L64
Solution is to mount the remote server as a drive letter on the Solr hosts.
Jan
> 3. mar. 2021 kl. 12:34 skrev Gell-Holleron, Daniel <da...@gb.unisys.com>:
>
> Hi there,
>
> We've upgraded from Solr 7.7.1 to Solr 8.8.1 (running on Windows Operating System) and I've noticed that when running a Solr backup, it will no longer allow me to write to a UNC path. Is this something that has been purposely changed?
>
> I've noticed a new system property called SOLR_OPTS="%SOLR_OPTS% -Dsolr.allowPath=S:\" which I've enabled. Is there a way to point this to a remote server, rather than a different drive on the local server?
>
> Thanks,
>
> Daniel
>