adopt default credential variable names
authorvarac <varacanero@zeromail.org>
Wed, 30 Oct 2013 23:41:25 +0000 (23:41 +0000)
committervarac <varacanero@zeromail.org>
Wed, 30 Oct 2013 23:41:25 +0000 (23:41 +0000)
couchdb_functions

index b86ac07..ea0b08b 100644 (file)
@@ -189,7 +189,7 @@ restore_db () {
   
   $CURL -X PUT "${url}/${db}/_security" -d  @${dumpdir}/${db}_security
   
-  couchdb-load -u $user -p $pw ${url}/$db <  ${dumpdir}/$db 
+  couchdb-load -u $couchdb_user -p $couchdb_pw ${url}/$db <  ${dumpdir}/$db 
 
   # old style
   # $CURL -d @${dumpdir}/$db -X POST "${url}/${db}/_bulk_docs"