anilkhichar opened a new issue, #593:
URL: https://github.com/apache/solr-operator/issues/593

   Please suggest any pointers for debugging. 
   
   Is there any API where we can get the list of SolrOperator registered backup 
repositories?
   Also, for S3 backup, does the Operator first download the backup data on 
disk and then execute the S3 cp/sync? 
   
   Any internal detail would be helpful to debug the core issue.
   
   **Error:**
   ```
   2023-07-18T23:18:54.905Z        
   ERROR   controller-runtime.manager.controller.solrbackup        
   Error while taking SolrCloud backup     
   {"reconciler group": "solr.apache.org", 
   "reconciler kind": "SolrBackup",
    "name": "solr-backup", 
   "namespace": "ns-solrcloud-int", 
   "error": "Received bad response code of 500 from solr with response: 
   {\n  \"responseHeader\":
   {\n    \"status\":500,\n    \"QTime\":0},\n  \"error\":{\n    
   \"msg\":\"Could not find a backup repository with name solr-backup-s3-repo\",
   \n    \"trace\":\"java.lang.NullPointerException: 
   Could not find a backup repository with name solr-backup-s3-repo\\
   n\\tat 
   java.base/java.util.Objects.requireNonNull(Unknown Source)\\n\\
   tat org.apache.solr.core.backup.repository.
   BackupRepositoryFactory.newInstance(BackupRepositoryFactory.java:74)
   ```
   
   
   - **Solrbackup Setup**
   `kubectl edit solrcloud solrsetup`
   
     ```
     backupRepositories:
     - name: "solr-backup-s3-repo"
       s3:
         region: "us-west-2"
         bucket: "<solr-s3-bucket>"
     ```
   
   - **SolrBackup**
     ```
     ---
     apiVersion: solr.apache.org/v1beta1
     kind: SolrBackup
     metadata:
       name: "solr-backup"
     spec:
       repositoryName: "solr-backup-s3-repo"
       solrCloud: "solrsetup"
       collections:
         - mycollection
     ```


-- 
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.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