Hi Alexander, can you explain the task you have a bit more detailed? What is your target?
Anyway, you are probably able to achieve this with a nicely setup replication - e.g. to another server or node on another port. Not entirely sure about this: as every database has it's own *.couch file (e.g in /usr/local/var/lib/couchdb on my Mac OS X box), you can rename any *.couch file to sth. else and put in another renamed *couch file. But irc, you have to restart the CouchDB instance. If doing so, you should rebuild all views as the records of the renamed database are most likely different. The views are also located in the directory where the *.couch files are and are in a directory called sth like .database_name_views . Cheers Andy On 17 May 2015 at 23:28, Alexander Harm <[email protected]> wrote: > Hello, > > I have a CouchDB instance running with 2 databases. Is there a possibility > to shutdown one of the two databases, e. g. replace the .couch-file with an > identically named one and start up this database without having to shutdown > the CouchDB instance? Or does this necessarily require two instances of > CouchDB? > > Regards, > > Alexander > > > -- Andy Wenk Hamburg - Germany RockIt! GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588 https://people.apache.org/keys/committer/andywenk.asc
