Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 15264 invoked from network); 15 Mar 2009 03:36:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Mar 2009 03:36:10 -0000 Received: (qmail 4086 invoked by uid 500); 15 Mar 2009 03:36:09 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 4042 invoked by uid 500); 15 Mar 2009 03:36:09 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 4027 invoked by uid 99); 15 Mar 2009 03:36:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Mar 2009 20:36:09 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jchris@gmail.com designates 209.85.200.172 as permitted sender) Received: from [209.85.200.172] (HELO wf-out-1314.google.com) (209.85.200.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Mar 2009 03:36:00 +0000 Received: by wf-out-1314.google.com with SMTP id 28so2554847wff.29 for ; Sat, 14 Mar 2009 20:35:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=QUJNcUNWVWqSQ2divXTjA+t6sAEN1C6QsN1HnMRKxQw=; b=WqbSKJaTnIkbZG+niYsZRIIz+Ss+I/ClZlByg/vLZb5FtYVh/nphF3kJPAC16gH9i9 Ea8+dR/XmIiM4m0mq5I6JvehgVJYmpNwAT5e1CSYCIKcPqP3K8+SP150qc/5rYQKjO6y m84sYR35qNFFWzOuh13rXp/narBJnMfM1sMlI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=x+X4uHlbmRseS4IWRHXHHqrVFCh8Ews9PTk54plUm3a/XxhpM5E4PVrZ/erqjoIciL 06gMez3aAwu3gTlQE9FBmw6r4UEbkBI/2mIJOx62yTeEwp06SAEMGzLQCKpfCefTRURy anRWLVNkfy8KYlDHEeREgAbO4rGW5D/fRJe8k= MIME-Version: 1.0 Sender: jchris@gmail.com Received: by 10.142.154.14 with SMTP id b14mr1436966wfe.168.1237088138868; Sat, 14 Mar 2009 20:35:38 -0700 (PDT) In-Reply-To: <01599B45-C9A0-4384-8297-070B30FB744F@apache.org> References: <2389ED95-C566-494A-9869-EEA42C382A2F@apache.org> <1BBA3FCE-3A39-4C29-8EA4-41C8D18A317D@apache.org> <01599B45-C9A0-4384-8297-070B30FB744F@apache.org> Date: Sat, 14 Mar 2009 20:35:38 -0700 X-Google-Sender-Auth: 8c08af76918b04b7 Message-ID: Subject: Re: rep_security merge to trunk From: Chris Anderson To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Mar 11, 2009 at 4:51 PM, Damien Katz wrote: > For importing existing docs, I think you could just use the > all_or_nothing:true option and save the multiple copies of the same > documents and they'll all be saved, and you don't have to worry about the > _revisions stuff. > I've posted a script that copies between two running CouchDB instances. I'm using the all_or_nothing option. It does attachments inline using base64 encoding because it mostly works. I think if you have attachments so big that they can't be buffered, you probably want to avoid bulk docs anyway. If anyone desperately needs such a script you might be able to convince me to modify what I've written. Blog post with script and instructions here: http://jchrisa.net/drl/_design/sofa/_show/post/Upgrading%20CouchDB%20databases%20to%20trunk Chris -- Chris Anderson http://jchris.mfdz.com