InkZoneMove
×
Menu

How to migrate job database to a new disk

When disk space is getting low on the disk where CouchDB is installed, then it is advisable to move the database to another disk with enough disk space.
 
1. Start Services on the InkZone computer
2. Stop the service Apache CouchDB
3. On the new disk, create a new folder, e.g. E:\CouchDB
4. Copy the folder C:\couchDB\data to folder E:\CouchDB
5. Edit the file C:\couchDB\etc\local.ini and add in the section [CouchDB] the lines:
 
[couchdb]
...
database_dir=E:\CouchDB\data
view_index_dir=E:\CouchDB\data
...
 
6. Start the service Apache CouchDB
7. Finish