summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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