Enabling Replication from an Embedded RavenDB instance to a server instance
RavenDB's replication works using plain HTTP requests to replicate all changes in one instance of Raven to another instance of Raven. When running in embedded mode, you can't replicate to that instance (since it has no HTTP endpoint, unless you use Embedded+HTTP mode but you can replicate from that instance.
Here are the steps to enable that scenario:
Ensure that the Raven.Bundles.Replication.dll is located in the Plugins directory for your embedded RavenDB instance.
Execute the following code for every RavenDB instance that you wish to replicate to: