Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-2152

[Backup] Restore services not implemented in backup script.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.2.0
    • 2.2.0
    • operator-backup
    • None
    • 18: PE/Tasks/Docs
    • 1

    Description

      As part of upcoming CND release we are going to support restore flags like --disable-analytics, --disable-eventing, -disable-gsi etc. 

      These services have been added as a part of CouchbaseBackupRestoreSpec: https://github.com/couchbase/couchbase-operator/blob/7576a23fedc8046201abd8037adc5ab18a5541a1/pkg/apis/couchbase/v2/types.go#L399 

      But the same has not been added to the backup script.

      https://github.com/couchbaselabs/couchbase-operator-backup/blob/master/backup.py#L180

      On a separate note, these flags won't be registered with cbbackupmgr when appended with --services flag, we need them as individual entities.

      This is causing the tests to restore the disabled service components.

      Attachments

        Issue Links

          Activity

            People

              simon.murray Simon Murray
              prateek.kumar Prateek Kumar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty