Sync Gateway replication

I’m trying to pull documents using a SG replications between two Environments having different sg versions and different bucket structure.
Source has bucket._default._default ( _default collection); Target has bucket.namedScope.namedCollection structure.
Source env:

  • sg version: 2.8.3
  • direction: pull
  • collection: _default

Target env:

  • sg version 3.1
  • collection: namedCollection

From sg logs I’m getting this error: Replicate: c:test01-pull error starting replicator on reconnect: unknown response type: 2 - Collection property not specified and default collection is not configured for this database

Is it possible to do what I’m tryin to? Please tell me if you need further informations, I will provide.

Well…what is it you are trying to do? Replicate the default collection into a non-default collection in the new environment? I don’t understand why you would do the reverse and try to pull data from a newer version into an older version, but 2.8.3 is not going to have any idea about collections.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.