Couchbase requirements and prerequisites
Requirements for source databases
For XDCR ingestion:
Source database admin credentials with the following privileges:
XDCR_ADMIN
DATA_MONITOR
For Couchbase backup manager ingestion:
There are no specific requirements for the source database, as the connector does not establish a connection with it.
Requirements for staging and target databases
The staging and target environments have the same set of requirements for CouchbaseDB.
Staging prerequisites for ingestion using backups
The backup can exist on the staging server or can be accessed over NFS.
For performing the backup operation, the following commands must be executed. This example uses a backup location of /u01/couchbase_backup and the repository name delphix.
Create a config file using the following command, this file will be required at the time of dSource creation using
CBBACKUPMGR
.CODE/opt/couchbase/bin/cbbackupmgr config --archive /u01/couchbase_backup --repo delphix
Backup from the source host to the backup directory (archive) mentioned in the previous step.
CODE/opt/couchbase/bin/cbbackupmgr backup -a /u01/couchbase_backup -r delphix -c couchbase://<production server> -u user -p password