From 84046652ccb6a45ecd952e0e4f0b2eeb7dd15ae5 Mon Sep 17 00:00:00 2001 From: varac Date: Tue, 16 Feb 2016 23:11:13 +0100 Subject: updated migrating-from-bigcouch-to-plain-couchdb --- pages/docs/platform/services/couchdb.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'pages/docs/platform/services') diff --git a/pages/docs/platform/services/couchdb.md b/pages/docs/platform/services/couchdb.md index c068b80..033af9a 100644 --- a/pages/docs/platform/services/couchdb.md +++ b/pages/docs/platform/services/couchdb.md @@ -76,14 +76,19 @@ one couchdb machine. . put the webapp into [maintenance mode](https://leap.se/en/docs/platform/services/webapp#maintenance-mode) + leap ssh webap + /etc/init.d/nickserver stop + + . connect to the machine you chose in step one and then disable access to the database and stop services that access the database, you may not have all these services on this node, so if some of the following do not work, that isn't a problem: - leap ssh couchdbnode - /etc/init.d/stunnel4 stop - /etc/init.d/soledad-server stop - /etc/init.d/nickserver stop - /etc/init.d/postfix stop + leap ssh soledad-nodes + /etc/init.d/soledad-server stop + + leap ssh mx-node + /etc/init.d/postfix stop + /etc/init.d/leap-mx stop . 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: -- cgit v1.2.3