incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: Any way replicate docs +attachments meta data but without attachments body?
Date Sun, 13 Jun 2010 09:57:00 GMT
Hi Faust,

On 31 May 2010, at 22:21, faust 1111 wrote:

> Hi guy's!
> 
> I have two servers A B
> A is limited by hd space
> 
> i want keep attachments body only one side on server A.
> i need replicate docs +attachments meta data from A to B.
> i asking in irc but guy's sad it's no way to replicate without attachments body.
> 
> i want implement this in simple way!
> 
> One way keep attachments as separate doc in separate DB on server A,
> but its make manage attachments not easy.

You can use filtered replication to block documents that have attachments
from replicating. That still means you must split attachments and meta-data
into separate documents, but they can stay in the same database.

Cheers
Jan
--


Mime
View raw message