Versioning with Mac Ports can kinda suck, and new CouchDB versions are often incompatible with the old version’s data files.
Idea: Use CouchDBX, during incompatible upgrades, as a holding pen for your local data!
- Download CouchDBX
- Replicate from your Mac Ports-installed databases to
- Delete “old” databases from your Mac Ports-installed CouchDB
- Upgrade your Mac Ports-installed CouchDB to some new, binary-incompatible version
- Re-create the databases in the newly-upgraded CouchDB installation
- Replicate from your CouchDBX databases to the Mac Ports-installed CouchDB
- Enjoy! Or, Profit! (You choose…)
See?! That was so bad, was it?
Advertisement