solr cloud backup gcs
- Dominant language
- Go
- Stars
- 283
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the SolrCloud and SolrBackup YAML shown in the issue, checking the gcs-backups-1 repository, newsecret credential reference, and the SolrBackup status. Compare the unfinished GCS backup with the completed local-backup resource and inspect the operator's reported backup state. Done means the SolrBackup finishes successfully and objects appear in the specified GCS bucket.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- gcp, kubernetes
- Domain
- cloud, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100