Tuesday, 17 April 2018

CouchDB replication in command line

Here I have mentioned the command line replication method only.

curl -X POST -d ‘{“source”:”https://username:password@sourceIP:6984/databasename”,”target”:”http://username:password@targetIP:5984/databasename”}’ https://username:password@sourceIP:6984/_replicate -H ‘Content-Type: application/json’

We can you http and https which we required in that filed.

No comments:

Post a Comment

Permanent hostname setup for RHEL7

Step 1 Set the host name on NMTUI tool like following nmtui set host name   then save and exit Step 2 add the following l...