Skip to content

Instantly share code, notes, and snippets.

@victusfate
Created October 8, 2010 20:57
Show Gist options
  • Select an option

  • Save victusfate/617534 to your computer and use it in GitHub Desktop.

Select an option

Save victusfate/617534 to your computer and use it in GitHub Desktop.
#!/bin/sh
curl -H "Content-Type: application/json" -X POST http://127.0.0.1:5984/_replicate -d '{"source":"http://admin:password@127.0.0.1:5984/couchappspora","target":"http://glitterbacon.couchone.com/couchappspora","continuous":true}'
curl -H "Content-Type: application/json" -X POST http://127.0.0.1:5984/_replicate -d '{"target":"http://admin:password@127.0.0.1:5984/couchappspora","source":"http://glitterbacon.couchone.com/couchappspora","continuous":true}'
curl -H "Content-Type: application/json" -X POST http://127.0.0.1:5984/_replicate -d '{"source":"http://admin:password@127.0.0.1:5984/couchappspora","target":"http://victusfate.couchone.com/couchappspora","continuous":true}'
curl -H "Content-Type: application/json" -X POST http://127.0.0.1:5984/_replicate -d '{"target":"http://admin:password@127.0.0.1:5984/couchappspora","source":"http://victusfate.couchone.com/couchappspora","continuous":true}'
#curl -H "Content-Type: application/json" -X POST http://127.0.0.1:5984/_replicate -d '{"source":"http://admin:password@127.0.0.1:5984/couchappspora","target":"http://tyler.couchone.com/spora","continuous":true}'
#curl -H "Content-Type: application/json" -X POST http://127.0.0.1:5984/_replicate -d '{"target":"http://admin:password@127.0.0.1:5984/couchappspora","source":"http://tyler.couchone.com/spora","continuous":true}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment