scripts/couchdb_start_replication
author Tomas Zeman <tomas@functionals.cz>
Tue, 21 Feb 2023 13:03:45 +0100
changeset 40 8c421321123d
parent 17 9505016b06d7
permissions -rwxr-xr-x
run-cron-zabbix
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}'