Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 13793 invoked from network); 4 Dec 2008 07:08:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2008 07:08:31 -0000 Received: (qmail 62804 invoked by uid 500); 4 Dec 2008 07:08:41 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 62774 invoked by uid 500); 4 Dec 2008 07:08:41 -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 62763 invoked by uid 99); 4 Dec 2008 07:08:41 -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:08:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jchris@gmail.com designates 209.85.217.12 as permitted sender) Received: from [209.85.217.12] (HELO mail-gx0-f12.google.com) (209.85.217.12) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 07:07:11 +0000 Received: by gxk5 with SMTP id 5so1512385gxk.12 for ; Wed, 03 Dec 2008 23:06:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=pYUMWD5jr0z+hCwi76L7K1kjWcnvjlutJ0+PbYQmAj8=; b=ET8O+lKpI0fOyZhRn0MzGFcpYXIUuOT/W1h1Gg5PdCQBwwXkopEGpgRALwSzRUjHJm XLZEUqmhRcAqwr3wQW2D989Tohou/HcgUsYvflM9gAXDxkEO/6Qtcdc6jeoUHzkaQYn6 gG1jepjhbFGqVn8lRTSEG3iWSKnZGjEUSB2/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=SN/ZQOP5Bj75CT0ci0UGpShQd9taJq4d2qYG+HeBCi508tngAefmShY9fIBRDnXJOR KpeeCWIcmvFFgR9/kzIlo7Lu/kmlsz/cYMamROm5FVlT1Ar/13YLVzNlOxShDAhwUP0t NR2wirfPca63BCa0h3UVoEn2/dTPY6tC3Bc00= Received: by 10.64.28.20 with SMTP id b20mr13869342qbb.38.1228374417700; Wed, 03 Dec 2008 23:06:57 -0800 (PST) Received: by 10.65.235.11 with HTTP; Wed, 3 Dec 2008 23:06:57 -0800 (PST) Message-ID: Date: Wed, 3 Dec 2008 23:06:57 -0800 From: "Chris Anderson" Sender: jchris@gmail.com To: couchdb-user@incubator.apache.org Subject: Re: how to change couchdb data dir? In-Reply-To: <49377E9F.9060108@ducktyped.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <49377E9F.9060108@ducktyped.com> X-Google-Sender-Auth: 4ecacb3384804575 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Dec 3, 2008 at 10:54 PM, 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? > I just set my local.ini with something like: [couchdb] database_dir = /path/to/var/lib/couchdb > 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? Not currently. But the file names inside the data dir are based on the database name, so if you want that level of control you might use symlinks. -- Chris Anderson http://jchris.mfdz.com