You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by 张路 <bu...@gmail.com> on 2011/01/04 03:50:00 UTC
how to keep the replication rules
Hello everyone,I am a newer to couchdb.
I have learned how to replicate database from
http://wiki.apache.org/couchdb/How_to_replicate_a_database .
But I have a problem that i can't keep the replication rules after shutdown
one of the couchdb server. SO I have to add the rules again in Futon by hand
everytime.
Can I save the rules in a configuration file? Help~~
Re: how to keep the replication rules
Posted by Filipe David Manana <fd...@apache.org>.
On Tue, Jan 4, 2011 at 7:05 AM, Benoit Chesneau <bc...@gmail.com> wrote:
>
> on 1.1 (trunk), you can post a replication document to replicator db
> (by default _replicator). it will keep replication status and relaunch
> n case you restart couchdb.
Actually 1.1.0 corresponds to the subversion branch "1.1.x", while
subversion's trunk corresponds to what will be 1.2.0. Both contain the
feature Benoît just described.
>
> - benoît
>
--
Filipe David Manana,
fdmanana@gmail.com, fdmanana@apache.org
"Reasonable men adapt themselves to the world.
Unreasonable men adapt the world to themselves.
That's why all progress depends on unreasonable men."
Re: how to keep the replication rules
Posted by Benoit Chesneau <bc...@gmail.com>.
On Tuesday, January 4, 2011, 张路 <bu...@gmail.com> wrote:
> Hello everyone,I am a newer to couchdb.
>
> I have learned how to replicate database from
> http://wiki.apache.org/couchdb/How_to_replicate_a_database .
>
> But I have a problem that i can't keep the replication rules after shutdown
> one of the couchdb server. SO I have to add the rules again in Futon by hand
> everytime.
>
> Can I save the rules in a configuration file? Help~~
>
on 1.1 (trunk), you can post a replication document to replicator db
(by default _replicator). it will keep replication status and relaunch
n case you restart couchdb.
- benoît