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

[Backup] Create repository REST api endpoint is invalid

    XMLWordPrintable

Details

    • DOC-2021-Mar14-S5, DOC-2021-Mar28-S6
    • 1

    Description

      Build: 7.0.0-3874

      Doc ref: https://docs-staging.couchbase.com/server/7.0/rest-api/backup-create-repository.html

      As per the above document, REST API endpoint is specified as

      POST /cluster/self/repository/active/<new-repository-name>

      But while using the same, encountered 404 page not found response,

      POST http://10.112.191.101:8097/cluster/self/repository/active/repo_1 body: archive=%2Fdata%2Fcb_backups&bucket=travel-sample&plan=_hourly_backups headers: {'Accept': '*/*', 'Connection': 'close', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==', 'Content-Type': 'application/x-www-form-urlencoded'} error: 404 reason: status: 404, content: 404 page not found

      Actual working endpoint:

       

       

      /api/v1/cluster/self/repository/active/<new-repository-name>

       

       

      Attachments

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

        Activity

          People

            tony.hillman Tony Hillman (Inactive)
            ashwin.govindarajulu Ashwin Govindarajulu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty