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

Allow filtering of restore by vbucket

    XMLWordPrintable

Details

    Description

      In some cases a user may wish to only restore a limited set of vbuckets. For example if only the vbuckets from one node need restoring.

      Attachments

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

        Activity

          Build 5.1.0-1264 contains backup commit 3d662ade52142066b4c0f9d680d0ed4dde510d99 with commit message:
          MB-25725: Add ability to filter vbuckets restored
          https://github.com/couchbase/backup/commit/3d662ade52142066b4c0f9d680d0ed4dde510d99

          build-team Couchbase Build Team added a comment - Build 5.1.0-1264 contains backup commit 3d662ade52142066b4c0f9d680d0ed4dde510d99 with commit message: MB-25725 : Add ability to filter vbuckets restored https://github.com/couchbase/backup/commit/3d662ade52142066b4c0f9d680d0ed4dde510d99

          Build 5.1.0-1264 contains backup commit 9d10155da2c32aa746c2d05e9b205d2716e9db6f with commit message:
          MB-25725: Add man pages for the --vbucket-filter flag
          https://github.com/couchbase/backup/commit/9d10155da2c32aa746c2d05e9b205d2716e9db6f

          build-team Couchbase Build Team added a comment - Build 5.1.0-1264 contains backup commit 9d10155da2c32aa746c2d05e9b205d2716e9db6f with commit message: MB-25725 : Add man pages for the --vbucket-filter flag https://github.com/couchbase/backup/commit/9d10155da2c32aa746c2d05e9b205d2716e9db6f
          thuan Thuan Nguyen added a comment -

          Verified vbuckets filter in these tests

          conf/entbackuprestore/py-entbackuprestore-enhance.conf:    test_cbbackupmgr_restore_with_vbuckets_filter,init_nodes=2,vbucket-filter=0
          conf/entbackuprestore/py-entbackuprestore-enhance.conf:    test_cbbackupmgr_restore_with_vbuckets_filter,init_nodes=2,vbucket-filter=1,2,8,90,1000,456,3,5,7,99,88
          conf/entbackuprestore/py-entbackuprestore-enhance.conf:    test_cbbackupmgr_restore_with_vbuckets_filter,init_nodes=2,passwd-env=True,vbucket-filter=1000,2,8,90
          conf/entbackuprestore/py-entbackuprestore-enhance.conf:    test_cbbackupmgr_restore_with_vbuckets_filter,init_nodes=2,user-env=True,passwd-env=True,vbucket-filter=1000,2,8,90
          

           

          thuan Thuan Nguyen added a comment - Verified vbuckets filter in these tests conf/entbackuprestore/py-entbackuprestore-enhance.conf:    test_cbbackupmgr_restore_with_vbuckets_filter,init_nodes=2,vbucket-filter=0 conf/entbackuprestore/py-entbackuprestore-enhance.conf:    test_cbbackupmgr_restore_with_vbuckets_filter,init_nodes=2,vbucket-filter=1,2,8,90,1000,456,3,5,7,99,88 conf/entbackuprestore/py-entbackuprestore-enhance.conf:    test_cbbackupmgr_restore_with_vbuckets_filter,init_nodes=2,passwd-env=True,vbucket-filter=1000,2,8,90 conf/entbackuprestore/py-entbackuprestore-enhance.conf:    test_cbbackupmgr_restore_with_vbuckets_filter,init_nodes=2,user-env=True,passwd-env=True,vbucket-filter=1000,2,8,90  

          People

            thuan Thuan Nguyen
            oliver.downard Oliver Downard (Inactive)
            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