diff options
author | varac <varacanero@zeromail.org> | 2016-02-18 16:39:05 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-02-18 16:39:05 +0100 |
commit | 77d9a7e2a5f49f5fdd9923150d1c6dfde93c4e1f (patch) | |
tree | 29b2993608092c820fa85d7b22cfdc8083117210 /pages/docs/platform | |
parent | 7d0fa8d3871a728a7d5bfaac3239b233fa364610 (diff) |
remove orphaned DBs before migration
Diffstat (limited to 'pages/docs/platform')
-rw-r--r-- | pages/docs/platform/services/couchdb.md | 3 |
1 files changed, 2 insertions, 1 deletions
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 ``` |