scripts/couchdb_start_replication
author Tomas Zeman <tzeman@volny.cz>
Wed, 07 Nov 2018 08:41:06 +0100
changeset 37 968d93e43326
parent 17 9505016b06d7
permissions -rwxr-xr-x
externalscripts/certificate_expiration-file-bsd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
5183f2628cd2 couchdb replication monitoring
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     1
#!/bin/sh
17
9505016b06d7 couchdb_start_replication: fixed url
Tomas Zeman <tzeman@volny.cz>
parents: 10
diff changeset
     2
curl -X POST http://localhost:5984/_replicate -d '{"source":"http://.../src/", "target":"dst", "continuous":true}'