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

CBM s3 restore errors are printed twice

    XMLWordPrintable

Details

    Description

      Build: 7.0.0-1902

      Steps:

      Create a bucket with 100 scopes and 1 collection in each scope (including default scope and collection)
      Load 1000 items in each named scope (except default scope)
      Configure backup with s3
      Take backup of the bucket
      Restore it to a bucket which has same scope names but with different id

      Restore failures are printed twice:

      [root@node1-mad-hatter-testing-centos7 bin]# ./cbbackupmgr restore -a /tmp/entbackup -r backup --s3 --s3-bucket aruntestbackups3 --obj-staging-dir /tmp/s3obj -c 10.112.194.102 -u Administrator -p password

      (1/1) Restoring backup 2020-05-03T21_12_42.673993609-07_00
      Copying at 0B/s (estimating time remaining) 0 items / 0B
      default [ ] 100.00%
      Error restoring cluster: Scope 38 with name 'my_scope_31' exists with a different name/id on the cluster, a manual remap is required
      Restore bucket 'default' failed
      (1/1) Restoring backup 2020-05-03T21_12_42.673993609-07_00
      Copying at 0B/s (estimating time remaining) 0 items / 0B
      default [ ] 100.00%
      [root@node1-mad-hatter-testing-centos7 bin]# ./cbbackupmgr restore -a /tmp/entbackup -r backup --s3 --s3-bucket aruntestbackups3 --obj-staging-dir /tmp/s3obj -c 10.112.194.102 -u Administrator -p password --map-data default=default
      `--map-data` option only works for the Data service. Will not restore the metadata for any other service

      (1/1) Restoring backup 2020-05-03T21_12_42.673993609-07_00
      Copying at 0B/s (estimating time remaining) 0 items / 0B
      default [ ] 100.00%
      Error restoring cluster: no such file or directory
      Restore bucket 'default' failed
      (1/1) Restoring backup 2020-05-03T21_12_42.673993609-07_00
      Copying at 0B/s (estimating time remaining) 0 items / 0B
      default [ ] 0.00%

      Attachments

        Issue Links

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

          Activity

            People

              owend Daniel Owen
              arunkumar Arunkumar Senthilnathan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty