A good way to copy the configuration only for a new environment


#1

I would like to preserve configuration only. I see the cbbackup tool, but that seems like it is intended to copy data to a new system.

The environments are isolated from a networking perspective.

I need to recreate empty buckets, with the exact same server configuration in a new environment. What is the best way to do this?

I am rolling with 3.0.3

Thanks,
M

P.S. - By exact same configuration, I mean including the same readonly user/password
P.P.S. - By exact same configuration, I mean including all defined views


#2

Cbbackup tool creates a copy of data from an entire running cluster, an entire bucket, a single node, or a single bucket on a single functioning node. You can read more about it in detail in the docs http://docs.couchbase.com/admin/admin/CLI/cbbackup_tool.html


#3

Yes I am aware of the tool, but it doesn’t copy an entire node with empty buckets from what I have read; and there really isn’t information if that includes all passwords/users and already defined views.

In mature, secure environments, the staging to production step typically needs this level of control.