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

Backup Service UI and Repository description does not show whether user/user groups backup is enabled or not

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown
    • Tools 2024-Q1

    Description

      In the Backup Service, I created a repository and enabled users and user groups backup.  However, just by looking at the repository info in the UI, I cannot tell that users/user groups backup have been enabled.

      Note:  You can enable users/user groups backup when you create the repository in the UI or via the Backup Service REST API (by specifying the option "enable_users":true).

      Example:

      curl -X POST http://localhost:8097/api/v1/cluster/self/repository/active/backupeverything -u Administrator:password -d '{"plan":"_hourly_backups", "archive":"/backups", "enable_users": true}'

       

      You can also restore via the UI and the REST API and choose the option to restore users.

      However, you cannot see by the looking at the repository description whether or not users/user groups backup is enabled or not.

       

      For example, one of these repositories is configured to backup users/user groups, but I cannot tell which one.  

       

       

      The output of the Backup Service REST API GET commands below also do not show whether user backups are enabled or not.

      curl -X GET http://localhost:8097/api/v1/cluster/self/repository/active/bucket1_backup2 -u Administrator:password 

      curl -X GET http://localhost:8097/api/v1/cluster/self/repository/active/bucket1_backup -u Administrator:password

       

      Attachments

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

        Activity

          People

            gilad.kalchheim Gilad Kalchheim
            hyun-ju.vega Hyun-Ju Vega
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty