-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Design of development, integration and production data storage hierarchy in Couchbase and Capella #411
Comments
How to set up the XDCR rule: |
To avoid this you would need to tell cbbackupmgr to ignore the scope IDs and restore the scope in your backup to the scope in your cluster using the --map-data flag e.g. --map-data bucket.testScope=bucket.testScope. |
Steps:
|
Create the backup repo: |
/opt/couchbase/bin/cbbackupmgr backup --archive /couchbase/backup/standalone -repo vxdatatest --cluster couchbase://adb-cb1.gsd.esrl.noaa.gov --username Administrator --password #### |
/opt/couchbase/bin/cbbackupmgr restore --archive /couchbase/backup/standalone -repo vxdatatest --cluster couchbase://adb-cb1.gsd.esrl.noaa.gov --username Administrator --password #### --map-data vxdatatest=vxdatatest |
So the current plan is to
|
We may want to revisit the current Couchbase Bucket=>Scope=>Collection hierarchy:
Current hierarchy:
vxdata=>development=>[METAR, COMMON, ...]
=>integration=>[METAR, COMMON, ...]
=>production=>[METAR, COMMON, ...]
But given the following documentation on XDCR:
https://docs.couchbase.com/server/current/manage/manage-xdcr/replicate-using-scopes-and-collections.html#replicate-data-between-collections-explicitly-with-the-ui
This below is important:
*** XDCR only permits one replication to be defined, for a given target-bucket.
So either we come up with another mechanism to transition data between development, integration, production other than XDCR
OR
We move development, integration, production one level up to bucket level.
The text was updated successfully, but these errors were encountered: