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 245A5FA9E for ; Mon, 25 Mar 2013 22:00:54 +0000 (UTC) Received: (qmail 31226 invoked by uid 500); 25 Mar 2013 22:00:53 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 31163 invoked by uid 500); 25 Mar 2013 22:00:53 -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 31121 invoked by uid 99); 25 Mar 2013 22:00:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2013 22:00:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.82.170] (HELO mail-we0-f170.google.com) (74.125.82.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2013 22:00:46 +0000 Received: by mail-we0-f170.google.com with SMTP id z2so4005477wey.15 for ; Mon, 25 Mar 2013 15:00:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-originating-ip:in-reply-to:references :from:date:message-id:subject:to:cc:content-type:x-gm-message-state; bh=GH08CHA57I/XNoXZJ4kr7nkcM1NRln3y3QEQBZluh0A=; b=Y41i3ejwfSSi5SqH8DelM2NHwT50wtprSlyHhgmpWuGdKqzDaW3MLhrfAbvT2CLdft G6Fatj5hcHTeKDXqiTPy+ByBar0/PgKhe/PAFwpjl/1M5fxLWZZNd4SDfOkgGQzRcy9F lYtNqgsTYhLHdzZrLx3glKbBb3PXqrgxVWG/QZzM2EOsx1UXiDt8ampjSEtapqWjab/B iyh3kXBrgJHkCpD16qP97XhUTY18nF4VwLXCvOmYSmxaw1vyt9F+e2kfrX2ii+EYKbVE bAgfrtf7kNd0zMHef9RudYTbGhBwf1eA9SAb+FFRJxfkJ+sV0p3oKzFQf1OsTAK/A0ed pQag== X-Received: by 10.194.170.165 with SMTP id an5mr20886022wjc.41.1364248826062; Mon, 25 Mar 2013 15:00:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.32.106 with HTTP; Mon, 25 Mar 2013 15:00:06 -0700 (PDT) X-Originating-IP: [68.5.117.177] In-Reply-To: References: From: Mark Hahn Date: Mon, 25 Mar 2013 15:00:06 -0700 Message-ID: Subject: Re: copy docs from one db to another? To: user Cc: couchdb-user@apache.org Content-Type: multipart/alternative; boundary=089e013c6848a9c32d04d8c6ee60 X-Gm-Message-State: ALoCoQnJa0a9K4awRYkx7V2bvTF2kHCvz8gOoJFx1NeU4FPOpBc2lkshGL4C6Dh4JnArhjsd10ey X-Virus-Checked: Checked by ClamAV on apache.org --089e013c6848a9c32d04d8c6ee60 Content-Type: text/plain; charset=ISO-8859-1 Sorry to be an idiot, but how do i do a named replication? On Mon, Mar 25, 2013 at 2:52 PM, Matthieu Rakotojaona < matthieu.rakotojaona@gmail.com> wrote: > On Mon, Mar 25, 2013 at 10:35 PM, Mark Hahn wrote: > > I have a database with a zillion docs that I need to empty. I just want > > the design docs left behind. I googled and saw some techniques that > > require writing code. > > > > Could I just GET the docs with curl and then PUT them? > > > > Any other way to do it? > > 1. Named replication of the design docs to a "db-tmp" > 2. Delete the "db" file (I assume you have access to the underlying files) > 3. Replicate the other way around > > > -- > Matthieu RAKOTOJAONA > --089e013c6848a9c32d04d8c6ee60--