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

            michael.zilberstein Michael Zilbertstein (Inactive) created issue -
            pvarley Patrick Varley made changes -
            Field Original Value New Value
            Resolution User Error [ 10100 ]
            Status Open [ 1 ] Resolved [ 5 ]
            pvarley Patrick Varley made changes -
            Actual End 2019-07-16 09:20 (issue has been resolved)
            pvarley Patrick Varley made changes -
            Link This issue relates to MB-26916 [ MB-26916 ]
            brett19 Brett Lawson made changes -
            Story Points 1

            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