Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 891 Bytes

notes.md

File metadata and controls

18 lines (14 loc) · 891 Bytes

Notes to remind myself about various things.

Getting the CouchDB database

Download the .couch file from /var/lib/couchdb. The server runs CouchDB 1.6. It's hard to install this version anymore, so install 2.1.

To import the backup file into 2.1:

  • Stop the server
  • Edit /opt/couchdb/etc/vm.args
  • Change the node name from [email protected] to couchdb@localhost (to make 2.1 able to read old database files)
  • Copy the database backup file to /var/lib/couchdb
  • Start the server
  • The database is now available at http://localhost:5986/_utils - note the port number, the database is NOT available on the stardard port, at http://127.0.0.1:5984/_utils

See also: