Export a CouchDB database as a line oriented json file, then upload that to s3. Then later on s32couchdb that same file to get it into CouchDB instance. Or just use that line-oriented version of your CouchDB database for something else.
./bin/couchdb2s3.js --config config.json --outputBucket my-bucket --database http://localhost:5984/my-database
and
./bin/s32couchdb.js --config config.json --inputBucket my-bucket --database http://localhost:5984/my-database
The import script will not create a new database for you, you'll have to do that on your own.
- Attached documents are not currently supported.
- As written these scripts expect to be used as part of a export system where only the most recent backups are meaningful.