I'm attempting to replicate my local CouchDB database with a remote database that lives on iriscouch.com. I'm using nano.
This works fine -- except that the local documents are added to the existing iriscouch database rather than the local database being replicated on the remote.
Am I missing something?
Relevant code below.
nano.db.replicate(localCouchName, remoteCouchName,
function(error, body) {
if (error) {
console.log('nano.db.replicate() error:', error);
} else {
console.log('nano.db.replicate() success', body);
}
});