iriscouch / build-couchdb

Batteries-included CouchDB build system
227 stars 36 forks source link

How to copy documents (including attachments) from couchdb backup to couchdb? #96

Open saravanantl opened 10 years ago

saravanantl commented 10 years ago

I am not much familiar in CouchDB. I have used CouchDB to store the documents (images, audio & video files) which user has uploaded from Android app. Those documents were stored locally in his mobile not in server. We provide an option to update the software with new couchDB which holds HTML and some uploaded files. Now my problem is while updating the app, I need to get backup of old CouchDB and store it any place. After update completed copy the documents from old to new by using jQuery then delete the backup of couchDB.

Please anyone guide me to achieve this.