scripts/couchdb_start_replication
author Chris Jones <chris@sysadminchris.com>
Mon, 14 Jan 2013 17:18:11 -0500
changeset 21 14a903cf9505
parent 17 9505016b06d7
permissions -rwxr-xr-x
Added ie and us support. Cleaned up awk and cut commands not being called from variables.
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}'