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

[CBM] backup fails with 404 error in windows

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      7.0.0-4448

      Steps:
      1. Install 7.0.0-4448 on a windows machine
      2. Load travel-sample bucket
      3. Config backup repo:

      C:\Program Files\Couchbase\Server\bin>cbbackupmgr.exe  config --archive C:/tmp/entbackup --repo backup
      Backup repository `backup` created successfully in archive `C:/tmp/entbackup
      

      4. Take backup of the cluster - error:

      C:\Program Files\Couchbase\Server\bin>cbbackupmgr.exe backup --archive C:/tmp/entbackup --repo backup --cluster http://172.23.136.107:8091 --username Administrator  --password password  --no-progress-bar
      Error backing up cluster: received an unexpected 404 status executing 'GET' request to '/api/v1/bucket/travel-sample/backup' check the logs for more details
      

      From backup log:

      2021-02-11T18:15:01.967-08:00 (Plan) (Eventing) Transferring Eventing metadata
      2021-02-11T18:15:01.967-08:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://172.23.136.107:8096/api/v1/backup'
      2021-02-11T18:15:01.972-08:00 (REST) (Attempt 1) (GET) (200) Received response from 'http://172.23.136.107:8096/api/v1/backup'
      2021-02-11T18:15:01.972-08:00 (Plan) (Eventing) Successfully transferred Eventing metadata | {"number":3,"duration":"6.0007ms"}
      2021-02-11T18:15:01.984-08:00 (Plan) (Search) Transferring full text index aliases
      2021-02-11T18:15:01.984-08:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://172.23.136.107:8094/api/v1/backup'
      2021-02-11T18:15:01.989-08:00 (REST) (Attempt 1) (GET) (200) Received response from 'http://172.23.136.107:8094/api/v1/backup'
      2021-02-11T18:15:01.989-08:00 (Plan) (Search) Successfully transferred full text index aliases | {"number":4,"duration":"5.001ms"}
      2021-02-11T18:15:01.995-08:00 (Plan) (Bucket) Transferring bucket configuration for bucket 'travel-sample'
      2021-02-11T18:15:01.995-08:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://172.23.136.107:8091/pools/default/buckets/travel-sample'
      2021-02-11T18:15:02.001-08:00 (REST) (Attempt 1) (GET) (200) Received response from 'http://172.23.136.107:8091/pools/default/buckets/travel-sample'
      2021-02-11T18:15:02.015-08:00 (Plan) (Bucket) Successfully transferred bucket configuration for bucket 'travel-sample' | {"number":5,"duration":"20.0023ms"}
      2021-02-11T18:15:02.020-08:00 (Plan) (Analytics) Transferring Analytics metadata for bucket 'travel-sample'
      2021-02-11T18:15:02.020-08:00 (Couchbase) (Source) Will not be transferring Analytics Bucket Metadata because Analytics Service is not available
      2021-02-11T18:15:02.020-08:00 (Plan) (Analytics) Successfully transferred Analytics metadata for bucket 'travel-sample' | {"number":6,"duration":"0s"}
      2021-02-11T18:15:02.026-08:00 (Plan) (Search) Transferring full text index definitions for bucket 'travel-sample'
      2021-02-11T18:15:02.026-08:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://172.23.136.107:8094/api/v1/bucket/travel-sample/backup'
      2021-02-11T18:15:02.028-08:00 (REST) (Attempt 1) (GET) (200) Received response from 'http://172.23.136.107:8094/api/v1/bucket/travel-sample/backup'
      2021-02-11T18:15:02.028-08:00 (Plan) (Search) Successfully transferred full text index definitions for bucket 'travel-sample' | {"number":7,"duration":"2.0013ms"}
      2021-02-11T18:15:02.033-08:00 (Plan) (Index) Transferring GSI index definitions for bucket 'travel-sample'
      2021-02-11T18:15:02.033-08:00 (REST) (Attempt 1) (GET) Dispatching request to 'http://172.23.136.107:9102/api/v1/bucket/travel-sample/backup'
      2021-02-11T18:15:02.035-08:00 (REST) (Attempt 1) (GET) (404) Received response from 'http://172.23.136.107:9102/api/v1/bucket/travel-sample/backup'
      2021-02-11T18:15:02.036-08:00 WARN: (REST) (Attempt 1) (GET) Request to endpoint '/api/v1/bucket/travel-sample/backup' failed with status code 404 -- rest.(*Request).Execute() at request.go:142
      2021-02-11T18:15:02.037-08:00 (Stats) Stopping stat collection
      2021-02-11T18:15:02.039-08:00 (Cmd) Error backing up cluster: failed to execute cluster operations: failed to execute bucket operation for bucket 'travel-sample': failed to transfer index definitions for bucket 'travel-sample': failed to transfer GSI indexes: failed to get GSI index defintions: failed to get GSI index definitions: failed to execute request: received an unexpected 404 status executing 'GET' request to '/api/v1/bucket/travel-sample/backup' check the logs for more details
      

      Attachments

        Issue Links

          Activity

            People

              arunkumar Arunkumar Senthilnathan (Inactive)
              arunkumar Arunkumar Senthilnathan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty