ibm-watson-data-lab / couchbackup-docker

Backup CouchDB databases to .couch files using Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

./couchbackup.sh should allow single URL parameter

markwatsonatx opened this issue · comments

Modify ./couchbackup.sh to allow either

  • a single URL that contains the full path to database
  • a partial URL that contains a path to the Cloudant cluster and a separate parameter for the database name (as it is at the moment)

e.g. I should be able to do either

./couchbackup.sh https://user:pass@myhost.cloudant.com/mydb

or

./couchbackup.sh https://user:pass@myhost.cloudant.com mydb

Fixed