Skip to content

solr cloud backup gcs #506

@vipul-06

Description

@vipul-06

I have created solrcloud using the yaml defined below

`apiVersion: solr.apache.org/v1beta1
kind: SolrCloud
metadata:
  name: example
  namespace: dev-backend
spec:
  backupRepositories:
    - name: "gcs-backups-1"
      gcs:
        bucket: "vipul-test-bucket" # Required
        gcsCredentialSecret:
          name: "newsecret"
          key: "my-key.json"
  replicas: 3
  solrImage:
    tag: 9.0.0`

I am taking backup of my solr collections in gcs bucket

My solr backup yaml is as below

apiVersion: solr.apache.org/v1beta1
kind: SolrBackup
metadata:
  name: gcs-backup
  namespace: dev-backend
spec:
  solrCloud: example
  repositoryName: "gcs-backups-1"
  collections:
    - demo
    - test
    - new

My backup is starting but not getting anything on my bucket it is empty.
Also my solrbackup is not getting completed it is as follows

NAME           CLOUD     STARTED   FINISHED   SUCCESSFUL   NEXTBACKUP   AGE
gcs-backup     example   60m                                            60m
local-backup   example   4h20m     true       true                      4h20m

I firstly created a pvc backup it got completed but my gcs backup is started but not finishing also no data in my bucket

Metadata

Metadata

Assignees

No one assigned

    Labels

    backupquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions