In solr standalone, you can simply zip up your SOLR_HOME  folder and unzip it 
into the new container.

Jan

> On 17 Oct 2024, at 09:24, Matthias Apitz <g...@unixarea.de> wrote:
> 
> 
> Hello,
> 
> With the motivation to move a Solr core into a podman container I'm
> trying to understand how to do a backup/restore. In stackoverflow.comm I
> found this proposal:
> 
> http://srap57dxr1.dev.oclc.org:8984/solr/admin/collections?action=BACKUP&name=ulicore.backup&collection=ulicore&location=BackupLocation
> 
> When I call this URL with lynx as:
> 
> lynx 
> 'http://srap57dxr1.dev.oclc.org:8984/solr/admin/collections?action=BACKUP&name=ulicore.backup&collection=ulicore&location=BackupLocation'
> 
> it creates a file as :
> 
> cat 
> collections\?action\=BACKUP\&name\=ulicore.backup\&collection\=ulicore\&location\=BackupLocation
> {
>  "responseHeader":{
>    "status":400,
>    "QTime":1},
>  "error":{
>    "metadata":[
>      "error-class","org.apache.solr.common.SolrException",
>      "root-error-class","org.apache.solr.common.SolrException"],
>    "msg":"Solr instance is not running in SolrCloud mode.",
>    "code":400}}
> 
> What I'm doing wrong?
> 
> Thanks
> 
>    matthias
> 
> --
> Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub

Reply via email to