Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6C36D1016E for ; Fri, 4 Oct 2013 00:29:33 +0000 (UTC) Received: (qmail 16691 invoked by uid 500); 4 Oct 2013 00:29:32 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 16653 invoked by uid 500); 4 Oct 2013 00:29:32 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 16642 invoked by uid 99); 4 Oct 2013 00:29:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Oct 2013 00:29:32 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.215.182] (HELO mail-ea0-f182.google.com) (209.85.215.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Oct 2013 00:29:27 +0000 Received: by mail-ea0-f182.google.com with SMTP id o10so1463337eaj.27 for ; Thu, 03 Oct 2013 17:29:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=q79sx25Bd6Ke9j8Yh4TqLl/xRhj377rumwRRIdZvvZg=; b=WC4ZRZ57fJOvwv4lyV3VT/WoH7oDs+oKEJMpNHFXVUUEMpy0T6nJAHzVFTbKh9jelp 17fVNDeavFkfyKg6TkjDfCRiMSdVyz6D7HxZV+JeiNNy1Ta2OY8n0uEKBJ7W+DLjSocr QxnG+ml7t7EgyYXj7mqqcEdAd0Mcun8kA/M8sRW77JFNsnL3PEuvWEwTdzfT/l9aJsrh hvtF7tJcsp/AzZq4787AP5XjMI/FDG1NrmPc+Oz/KLx9kshKIvuW7ynf3NWKu0hAq02h 5yyFUsvflfKPGzv2GLWESwfhmoGB+X+W8mk4lpcJR7bGZvLhBXCSFgPxZcmOyPxDE+QJ 2b/w== X-Gm-Message-State: ALoCoQlrJr0pz83q3IW9su/RrV1r2J5W5ZOZsGHkrxTCFz4t7J4ybyMs8oI1Eg5912E31ByTMZRB X-Received: by 10.14.214.136 with SMTP id c8mr16765874eep.6.1380846545665; Thu, 03 Oct 2013 17:29:05 -0700 (PDT) Received: from [192.168.2.112] ([77.72.35.178]) by mx.google.com with ESMTPSA id a1sm21523599eem.1.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Oct 2013 17:29:04 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1283) Subject: Re: Contribution: CouchDb dump and reload From: Filippo Fadda In-Reply-To: Date: Fri, 4 Oct 2013 02:28:56 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <46C56CF3-C72A-49E3-AAD1-9A5EF914C74B@programmazione.it> References: <524DB903.5010405@fiset.ca> <524DBABA.8080903@orgmeta.com> <9292ECFF-41C2-498C-A062-5FB6775C8B1F@couchbase.com> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1283) X-Virus-Checked: Checked by ClamAV on apache.org Is it basically an all_docs + include_docs? -Filippo On Oct 3, 2013, at 11:51 PM, Alexander Shorin wrote: > On Fri, Oct 4, 2013 at 1:28 AM, Jens Alfke wrote: >> On Oct 3, 2013, at 11:43 AM, Vivek Pathak = wrote: >>=20 >>> Just fyi, there is couchdb-dump available in >>> tihttp://code.google.com/p/couchdb-python/ >>=20 >> Looks like these two tools use entirely different data formats. Has = anyone thought of defining a common format for database dumps? >=20 > I think it will be hard to define such. >=20 > Dumping CouchDB data as JSON looks intuitive and requires less > additional actions for import/export. Having couchdb-python approach > with multipart format provides lesser footprint, but requires a more > tricky processing (boundaries, headers). Both solutions may use > CouchDB API without any additional data conversion. And both requires > a lot of disk space, much more than if you just copy database file or > make a replica of it, unless you xz-zip the output. >=20 > -- > ,,,^..^,,,