scripts/couchdb_start_replication
author Tomas Zeman <tomas@functionals.cz>
Thu, 15 Apr 2021 15:27:45 +0200
changeset 39 a0015fe2009a
parent 17 9505016b06d7
permissions -rwxr-xr-x
mysql-slave,status (Zabbix trapper)
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}'