On 15 Mar 2009, at 04:35, Chris Anderson wrote:

On Wed, Mar 11, 2009 at 4:51 PM, Damien Katz <dam...@apache.org> 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


Hi Chris, great work, thanks! Would it make sense to add the blog post
& script to the CouchDB wiki? I'd like to add a few notes and your blog
is still read-only :)

Cheers
Jan
--


Reply via email to