Mercurial > hg > Feedworm
view replicate.sh @ 182:964661153b97
hide read feed entries if configured
author | dirk |
---|---|
date | Sat, 10 Sep 2011 09:15:25 +0200 |
parents | c8393c2cd324 |
children | 0b4c8dc13b7c |
line wrap: on
line source
# replicate all documents from the local DB into Xanthippe's and vice versa curl -X POST \ http://localhost:5984/_replicate \ -d '{"source":"feedworm","target":"http://xanthippe:5984/feedworm"}' \ -H "Content-Type: application/json" curl -X POST \ http://localhost:5984/_replicate \ -d '{"source":"http://xanthippe:5984/feedworm", "target":"feedworm"}' \ -H "Content-Type: application/json"