echarles opened a new issue #404:
URL: https://github.com/apache/solr-operator/issues/404


   Hi, I have a running solrcloud on my EKS cluster and can successfully use 
`SolrBackup` to create backups to a S3 bucket. As `solr-cloud` does not (yet) 
ship out-of-the-box solution to restore from a backup, I have tried to use the 
core Solr Collections API documented on 
https://solr.apache.org/guide/8_11/collection-management.html#restore. This 
throws a error `msg":"specified location s3://my-bucket does not exist`...
   
   To understand if the issue was due an incompatiblity e.g. on format, 
folder... I have tried to use the core Solr Collection API to create a backup 
to S3 https://solr.apache.org/guide/8_11/collection-management.html#backup and 
https://solr.apache.org/guide/8_11/making-and-restoring-backups.html#s3backuprepository
 with the following request.
   
   ````bash
   curl http://localhost:8983/solr/admin/collections -d '
   action=BACKUP&
   repository=s3-bu&
   collection=backups&
   location=s3://datalayer-backups&
   name=backup-dir'
   ```
   
   This results in the following error
   
   ````
   {
     "responseHeader":{
       "status":500,
       "QTime":59},
     "error":{
       "metadata":[
         "error-class","org.apache.solr.common.SolrException",
         "root-error-class","org.apache.solr.common.SolrException"],
       "msg":"specified location s3://my-bucket/ does not exist.",
       "trace":"org.apache.solr.common.SolrException: specified location 
s3://my-bucket/ does not exist.\n\tat 
org.apache.solr.handler.admin.CollectionsHandler$CollectionOperation.lambda$static$33(CollectionsHandler.java:1134)\n\tat
 
org.apache.solr.handler.admin.CollectionsHandler$CollectionOperation.execute(CollectionsHandler.java:1453)\n\tat
 org.apache.solr.handler.admin.CollectionsHandler.invokeAction(Col
   ```
   
   I have precreated the `backup-id` in my S3 bucket, tried various format for 
the collection (removed `s3://` prefix) without luck.
   
   Are my parameters wrong, do I have an issues with my env (env works with 
`SolrBackup` and K8ssandra backup/restore) or is there a issue to fix in the 
source code?
   
   Thx!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to