couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damien Katz <dam...@apache.org>
Subject Re: 1.0.0 wishlist/roadmap
Date Fri, 05 Dec 2008 22:30:04 GMT
Yes yes yes! This is exactly how it should work, pull all the docs in  
a single http request and also record the last seq num. Then later  
incrementally pull new changes using the seq num, lather rinse repeat.  
Restore by POSTing the docs in bulk updates.

-Damien


On Dec 5, 2008, at 5:19 PM, Chris Anderson wrote:

> On Fri, Dec 5, 2008 at 2:08 PM, Antony Blakey  
> <antony.blakey@gmail.com> wrote:
>>
>> Backup/Restore are trivial to write, and an Erlang plugin will be  
>> easy
>
> An HTTP request against
> /db/_all_docs_by_seq?include_docs=true&all_revs=true* could be
> streamed to a file. The result would be a single JSON list of all the
> uncompacted changes. I wonder if we could get mochiweb to gzip this by
> setting the right headers?
>
> * I think we might need to add more power to include_docs before it
> can pull every _rev, but it's worth a shot.
>
> Chris
>
> -- 
> Chris Anderson
> http://jchris.mfdz.com


Mime
View raw message