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

Helm installation on rhel 9

 You can do install with 2 commands  first one is curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-hel...