Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-43336

[CBM] Restore with map-data failing when bucket deleted and recreated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.0
    • Cheshire-Cat
    • tools
    • Untriaged
    • 1
    • Yes

    Description

      Issue:
      Restoring data where the bucket is deleted and recreated and then mapped to another bucket fails.

      Steps to reproduce:
      1. Configure a backup repo
      2. Create bucket "B0" and load some data
      3. Do a backup
      4. Delete "B0"
      5. Create bucket with name "B0" again and load some data
      6. Do a backup
      7. Create bucket "new_bucket"
      7. Do a restore with --map-data B0=new_bucket

      This gives error:

      Error restoring cluster: invalid mapping 'B0=new_bucket', source does not exist
      

      Expected
      For the data in the last backup to be restored to new_bucket

      Attachments

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

        Activity

          People

            rebecca.critchlow Rebecca Critchlow (Inactive)
            rebecca.critchlow Rebecca Critchlow (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