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

          ashwin.govindarajulu Ashwin Govindarajulu created issue -
          asad.zaidi Asad Zaidi (Inactive) made changes -
          Field Original Value New Value
          Assignee Asad Zaidi [ JIRAUSER25025 ] Patrick Varley [ pvarley ]
          asad.zaidi Asad Zaidi (Inactive) made changes -
          Assignee Patrick Varley [ pvarley ] Tony Hillman [ tony.hillman ]
          tony.hillman Tony Hillman made changes -
          Sprint DOC-2021-Mar14-S5 [ 1403 ]
          tony.hillman Tony Hillman made changes -
          Rank Ranked lower
          tony.hillman Tony Hillman made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          tony.hillman Tony Hillman made changes -
          Status In Progress [ 3 ] In Review [ 10107 ]
          simon.dew Simon Dew made changes -
          Sprint DOC-2021-Mar14-S5 [ 1403 ] DOC-2021-Mar14-S5, DOC-2021-Mar28-S6 [ 1403, 1404 ]
          tony.hillman Tony Hillman made changes -
          Status In Review [ 10107 ] Resolved [ 5 ]
          tony.hillman Tony Hillman made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            tony.hillman Tony Hillman
            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