summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-08-21 23:39:26 +0200
committervarac <varacanero@zeromail.org>2013-08-21 23:39:26 +0200
commitdaf551ed3123531a7bd07baa05421e713478fba3 (patch)
treef2a329a21b00ecb7690341bd67f2cd047fb0bba2
parent6445ffc7d44d460a7ba3965a9558ad554128361a (diff)
updated README.md, fixed debugging leftover in couchdb_recreate_dbs.sh
-rw-r--r--README.md13
-rwxr-xr-xcouchdb_recreate_dbs.sh2
2 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 35c19cb..1ff2c89 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,22 @@
Leap Couchdb/Bigcouch scripts
=============================
+Issues
+------
+
+* dump_db() and restore_db() rely on python-couchdb package,
+ python-couchdb =< 0.8-1 needs to be patched, see
+ http://code.google.com/p/couchdb-python/issues/detail?id=194
+
+
+Exapmples
+=========
+
Use couchdb functions on command line
+-------------------------------------
. couchdb-scripts-defaults.conf
. couchdb_functions
get_dbs $URL
+ restore_db $URL users_replicated $user $pw
diff --git a/couchdb_recreate_dbs.sh b/couchdb_recreate_dbs.sh
index 3892720..c40fd1e 100755
--- a/couchdb_recreate_dbs.sh
+++ b/couchdb_recreate_dbs.sh
@@ -19,7 +19,7 @@
dbs="`get_dbs $URL`"
-dbs='users_replicated' # for debugging
+#dbs='users_replicated' # for debugging
# concurrent replication might cause stalled tasks, see #https://leap.se/code/issues/3506
for db in $dbs