Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 8503 invoked from network); 4 Dec 2008 06:55:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2008 06:55:37 -0000 Received: (qmail 52877 invoked by uid 500); 4 Dec 2008 06:55:48 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 52844 invoked by uid 500); 4 Dec 2008 06:55:48 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 52833 invoked by uid 99); 4 Dec 2008 06:55:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 22:55:48 -0800 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [217.70.178.76] (HELO relay2-v.mail.gandi.net) (217.70.178.76) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 06:54:17 +0000 Received: from localhost (mfilter6-d.gandi.net [217.70.178.40]) by relay2-v.mail.gandi.net (Postfix) with ESMTP id 6105A135D9 for ; Thu, 4 Dec 2008 07:54:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter6-v.mgt.gandi.net Received: from relay2-v.mail.gandi.net ([217.70.178.76]) by localhost (mfilter6-d.mgt.gandi.net [217.70.178.40]) (amavisd-new, port 10024) with ESMTP id WHofM1hvOqaN for ; Thu, 4 Dec 2008 07:54:50 +0100 (CET) Received: from [219.142.250.219] (unknown [219.142.250.219]) by relay2-v.mail.gandi.net (Postfix) with ESMTP id C5211135D8 for ; Thu, 4 Dec 2008 07:54:49 +0100 (CET) Message-ID: <49377E9F.9060108@ducktyped.com> Date: Thu, 04 Dec 2008 14:54:23 +0800 From: Ben User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: couchdb-user@incubator.apache.org Subject: how to change couchdb data dir? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I want to keep my data on a separate partition from the OS. I was wondering what ways there are and what you would recommend in terms of doing that? Options I can think of: 1. configure couchdb with certain options (./configue --help shows datarootdir and datadir options, but it says they're read-only). I'm a bit lost with this option. 2. symlink the data dir. Seems straightforward, are there any pitfalls? 3. Is it possible to configure a per-database data dir, so I can keep my app code and data in one place for each app that I have? Which way would you recommend? Thanks! Ben