Copy from old database to new database in Couchdb

I am working on a project that uses couchdb. In fact, before I worked with a database in which there were 1000 documents, and now I moved to a new database, it also has many new documents than others. If I copy all documents one by one, it will take too long if there is another method so that I can copy certain documents from one database and paste them into a new one. Because couchdb is new to me, and I have not found satisfactory answers on the Internet. If anyone knows, please let me know the request or method for copying and pasting into couchdb? Thank you in advance.

+3
source share
1 answer

Yes, and it is called replication .

You can combine it with filter if you need to copy only certain documents.

+4
source

All Articles