Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-5501

Bucket creation unsupported/undocumented during cbbackumgr restore

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: User Error
    • None
    • None
    • None

    Description

      If you try to cbbackupmgr restore while bucket doesn't exist at the destination, you receive following error: Error restoring cluster: Recieved error 404 while executing "PUT http://172.19.0.10:8091/couchBase/beer-sample/_design/beer"

      backup-meta.json file contains value "allow_bucket_creation" but:
      1) it can't be set with cbbackumgr config - or it it can than it is undocumented (first thing that requires fix)
      2) even after I manually modified backup-meta.json and set "allow_bucket_creation" to true, I still got same 404 error.

      Bottom line: we should support bucket creation when restoring, it should be part of "cbbackumgr config" and should be documented.

      Attachments

        Issue Links

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

          Activity

            Because it changes the default behaviour.

            pvarley Patrick Varley added a comment - Because it changes the default behaviour.

            Thanks Patrick Varley, one last question: why not to set it in cbbackupmgr config (if it is part of backup-meta.json anyway), why only optional param in restore? 

            michael.zilberstein Michael Zilbertstein (Inactive) added a comment - Thanks Patrick Varley , one last question: why not to set it in cbbackupmgr config (if it is part of backup-meta.json anyway), why only optional param in restore? 

            Given that this is linked to 6.0.X I suspect that this is User Error. The feature was added in Mad hatter: MB-26916

            pvarley Patrick Varley added a comment - Given that this is linked to 6.0.X I suspect that this is User Error. The feature was added in Mad hatter: MB-26916

            People

              amarantha.kulkarni Amarantha Kulkarni (Inactive)
              michael.zilberstein Michael Zilbertstein (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty