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

[SaveAndRestore] Path value in the save command does not work for a single bucket in a multi-bucket cluster.

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • not-targeted
    • 2.3.0
    • None
    • 1

    Description

      Path for the save/restore command is either used to save/restore all buckets, save/restore scopes and collections of a particular bucket or save/restore collections of a particular 'bucket.scope'.

      A scenario where it does not work:
      1. Create a 1 node cluster with 3 buckets.

      2. Save the topology of a single bucket.

      3. Delete all buckets.

      4. Restore the saved topology i.e. only one bucket and its children resources.

      This does not work because we do not have the option to save one bucket topology. (Step 4 does not work if that bucket is not already created during restore.)

      Error: 

      Collecting data topology resources...
      Loading current cluster topology...
        /
      Loading requested cluster topology...
      parameter error: save level 1 does not match patch level 0 

      As a workaround, we can backup the only required bucket and restore it without data but the corresponding kubernetes objects would not be created.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            justin.ashworth Justin Ashworth
            prateek.kumar Prateek Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty