Couchbase index definition export import

n1ql
index

#1

Hi,

Mine couchbase version is 4.5.1

I have 50 index
I want to export 50 index definition from one cluster and import in another cluster definition. Please let me know how to do it as i am unable to find anything. I dont want to manually create it. Please also let me know if in higher version its possible incase not possible in 4.5.1.


#2

You can use cbbackup or cbbackupmgr to backup and restore:

https://docs.couchbase.com/server/4.5/cli/cbbackup-tool.html
https://docs.couchbase.com/server/4.5/backup-restore/cbbackupmgr.html


#3

@ratul.paul you can also take a look at https://github.com/brantburnett/couchbase-index-manager