Couchbase: How to copy data from bucket to another?

寵の児 提交于 2019-12-11 07:19:55

问题


I have a bucket (Bucket1) that I need to delete, and move its documents to another bucket (Bucket2).

What is the best way achieving this?

I'm using version 4.5.


回答1:


The cbtransfer tool should be able to do the data transfer you need.

https://docs.couchbase.com/server/6.0/cli/cbtransfer-tool.html

bucket-delete can be used to delete a bucket once you are finished with it.

https://docs.couchbase.com/server/6.0/cli/cbcli/couchbase-cli-bucket-delete.html



来源:https://stackoverflow.com/questions/54004461/couchbase-how-to-copy-data-from-bucket-to-another

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!