Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 49332 invoked from network); 5 Dec 2008 22:30:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2008 22:30:37 -0000 Received: (qmail 85692 invoked by uid 500); 5 Dec 2008 22:30:49 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 85655 invoked by uid 500); 5 Dec 2008 22:30:49 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 85644 invoked by uid 99); 5 Dec 2008 22:30:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 14:30:48 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.68.5.15] (HELO relay01.pair.com) (209.68.5.15) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 05 Dec 2008 22:29:18 +0000 Received: (qmail 39675 invoked from network); 5 Dec 2008 22:30:04 -0000 Received: from 96.33.90.152 (HELO ?192.168.1.101?) (96.33.90.152) by relay01.pair.com with SMTP; 5 Dec 2008 22:30:04 -0000 X-pair-Authenticated: 96.33.90.152 Message-Id: From: Damien Katz To: couchdb-dev@incubator.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: 1.0.0 wishlist/roadmap Date: Fri, 5 Dec 2008 17:30:04 -0500 References: <20081205151719.GB23179@tumbolia.org> <20081205163205.GF23179@tumbolia.org> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org 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 > 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