on _replicator data base create a doc like this:
{
"_id": "idofyourreplication",
"source": "http://<HOSTNAME>:5984/DB",
"target": "DB",
"continuous": true
}
when start your doc will be updated to something link this
{
"_id": "idofyourreplication",
"source": "http://<HOSTNAME>:5984/DB",
"target": "DB",
"continuous": true,
"owner": "admin",
"_replication_state": "triggered",
"_replication_state_time": "2012-10-03T03:52:12+00:00",
"_replication_id": "3793d02c04fe8e3b2b22eed14dd57d16"
}
see the logs to know whats is happend if this occour
( "_replication_state": "error" )
Gabriel
On Fri, Oct 5, 2012 at 5:10 AM, Benoit Chesneau <[email protected]> wrote:
> On Fri, Oct 5, 2012 at 8:47 AM, svilen <[email protected]> wrote:
> > on my machine, i setup some bi-dir replications, and they go in
> > _replicator. Then i reboot, or shutdown.. and they're gone.
> >
> > so is it persisted, or a virtual in-memory thing?
> >
>
> _replicator is a database.
>
>
> - benoît
>
--
Gabriel Mancini de Campos
Arquiteto de Soluções
+55 (11) 9449-1706
[email protected]
São Paulo - SP - Brasil