You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Jan Lehnardt <ja...@apache.org> on 2010/06/13 11:57:00 UTC

Re: Any way replicate docs +attachments meta data but without attachments body?

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
--