How do I change the database file location for couchdb?

FTWynn picture FTWynn · Jun 10, 2011 · Viewed 18.5k times · Source

I've got couchdb installed from a package manager (Ubuntu, 10.04), but the partition where couchdb is installed is not especially big (~5GB). I'd like to move the database files to a bigger partition I set aside for the db, but I can't seem to find how to do it anywhere.

I suspect it's a local.ini tweak, but I've got nothing to back that up.

Answer

JasonSmith picture JasonSmith · Jun 10, 2011

That is in local.ini

[couchdb]
database_dir = /path/to/the/databases
view_index_dir = /path/to/the/views

Good luck!