From 77d9a7e2a5f49f5fdd9923150d1c6dfde93c4e1f Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 18 Feb 2016 16:39:05 +0100 Subject: remove orphaned DBs before migration --- pages/docs/platform/services/couchdb.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pages/docs/platform/services') diff --git a/pages/docs/platform/services/couchdb.md b/pages/docs/platform/services/couchdb.md index 6a6379e..bcd6400 100644 --- a/pages/docs/platform/services/couchdb.md +++ b/pages/docs/platform/services/couchdb.md @@ -95,10 +95,11 @@ At the end of this process, you will have just *one* couchdb server. If you had server# iptables -A INPUT -p tcp --dport 5984 --jump REJECT ``` -1. then backup all of the databases, this can take some time and will place several hundred megabytes of data into /var/backups/couchdb. The size and time depends on how many users there are on your system. For example, 15k users took approximately 25 minutes and 308M of space: +1. remove orphaned databases and do a backup of all remaining, active databases. This can take some time and will place several hundred megabytes of data into /var/backups/couchdb. The size and time depends on how many users there are on your system. For example, 15k users took approximately 25 minutes and 308M of space: ``` server# cd /srv/leap/couchdb/scripts + server# ./cleanup-user-dbs server# time ./couchdb_dumpall.sh ``` -- cgit v1.2.3