I have a need to migrate some CouchDB database data back and forth between two desktop computers at different locations. One of the computers is Windows XP, one is a Macintosh running OS X 10.5. Neither can realistically connect to the other via the internet (the PC has a firewall, the Mac doesn't have fast internet access). But I do have a USB thumb drive I take back and forth.
Is there a way to do a database dump (like mysqldump for MySQL) for CouchDB so I can export from one and import to the other? I read about database replication but it seems to be only between two live databases that can talk to each other. I can copy the raw database files but I am not sure what version of CouchDB the PC is running (it's whatever the latest native windows CouchDB installer is, it tells me 0.0.0), the Mac is running the most recent version of CouchDBX, and I'm not sure the file versions are compatible.
The replication & versioning features of CouchDB are very intriguing for my application so I am looking forward to getting this set up.
edit: it seems like you either need:
- couchdb replicating directly to another (or the same) couchdb server
- couchdb database files from the same version of couchdb
- couchdb-python tools ("couchdb-dump" and "couchdb-load") but I can't get them to work reliably on WinXP+Python 2.6.2 for some reason (dump 'works' but load says it fails integrity check)
This is really frustrating. :/