Reset CouchDB Instance

It’s really easy to clean up a CouchDB instance as fresh as new. Just delete the database files and .delete folder in /usr/local/var/lib/couchdb and restart the CouchDB service.

$ sudo /etc/init.d/couchdb stop
$ cd /usr/local/var/lib/couchdb
$ sudo rm -rf * .delete
$ sudo /etc/init.d/couchdb start

About rp8

Specialized in building sophisticated systems for trading & risks in commodity, exotics, commodity index & structured products. Specially interested in using open source stacks and cloud computing to build new generation of services and apps. Enjoy mountain biking & photography. github
This entry was posted in NoSQL, Ubuntu and tagged . Bookmark the permalink.