Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 16418 invoked from network); 4 Dec 2008 07:17:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2008 07:17:57 -0000 Received: (qmail 66423 invoked by uid 500); 4 Dec 2008 07:18:07 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 66386 invoked by uid 500); 4 Dec 2008 07:18:07 -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 66375 invoked by uid 99); 4 Dec 2008 07:18:07 -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 23:18:07 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.97.50.139] (HELO jan.prima.de) (83.97.50.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 07:16:38 +0000 Received: from [192.168.1.35] (g225032220.adsl.alicedsl.de [::ffff:92.225.32.220]) (AUTH: LOGIN jan, SSL: TLSv1/SSLv3,128bits,AES128-SHA) by jan.prima.de with esmtp; Thu, 04 Dec 2008 07:05:24 +0000 Message-Id: <3AF87B84-4709-4C74-9ABF-BE1CBC736166@apache.org> From: Jan Lehnardt To: couchdb-user@incubator.apache.org In-Reply-To: <49377E9F.9060108@ducktyped.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: how to change couchdb data dir? Date: Thu, 4 Dec 2008 08:04:52 +0100 References: <49377E9F.9060108@ducktyped.com> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org On 4 Dec 2008, at 07:54, Ben wrote: > 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. Noah? > 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? 4. Change dir in local.ini (see default.ini for the setting, use local.ini to override). Cheers Jan --