Skip to content

Instantly share code, notes, and snippets.

@stickystyle
Created December 17, 2015 16:40
Show Gist options
  • Save stickystyle/eae6a371f6857de82040 to your computer and use it in GitHub Desktop.
Save stickystyle/eae6a371f6857de82040 to your computer and use it in GitHub Desktop.
#!/bin/sh
datestr=`date +'%Y-%m-%d'`
filename="$datestr.json"
pouchdb-dump http://couchdb:5984/tenants-103 -o www/appdata/$filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment