Export CouchDB databases to line oriented json files on s3

npm install couchdb2s3
12 downloads in the last day
59 downloads in the last week
73 downloads in the last month


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.


npm install -g couchdb2s3


couchdb2s3 --config config.json \
  --outputBucket my-bucket \
  --database http://localhost:5984/my-database


s32couchdb --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.
npm loves you