将CouchDB数据从远程服务器复制到本地计算机

将CouchDB数据从远程服务器复制到本地计算机,couchdb,database-replication,Couchdb,Database Replication,我最近开始使用CouchDB,只是讨论了一些小问题 我正在尝试使用将数据从远程服务器复制到远程计算机 以下命令: curl -X POST -d '{"source":"http://xxx.xxx.xx.xxx:5984/testing_replicate","target":"http://localhost:5984:testing_replicate"}' http://localhost:5984/_replicate 不知怎的,这个命令没有响应 做curl-xget 及 返回预期的

我最近开始使用CouchDB,只是讨论了一些小问题

我正在尝试使用将数据从远程服务器复制到远程计算机 以下命令:

curl -X POST -d '{"source":"http://xxx.xxx.xx.xxx:5984/testing_replicate","target":"http://localhost:5984:testing_replicate"}' http://localhost:5984/_replicate
不知怎的,这个命令没有响应

做curl-xget 及

返回预期的响应:{couchdb:Welcome,版本:0.10.0}

谁能启发我


致以最诚挚的问候。

您的目标URL中有一个错误。更改:

... "target":"http://localhost:5984:testing_replicate" ...
                                   ^


你的目标URL中有一个错误。更改:

... "target":"http://localhost:5984:testing_replicate" ...
                                   ^


嗨,好吧,我意识到了。谢谢嗨,好吧,我意识到了。谢谢
... "target":"http://localhost:5984/testing_replicate" ...
                                   ^