Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 56425 invoked from network); 10 Apr 2010 07:20:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Apr 2010 07:20:44 -0000 Received: (qmail 20126 invoked by uid 500); 10 Apr 2010 07:20:43 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 20022 invoked by uid 500); 10 Apr 2010 07:20:42 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 20014 invoked by uid 99); 10 Apr 2010 07:20:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Apr 2010 07:20:41 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rajkumars@gmail.com designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vw0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Apr 2010 07:20:33 +0000 Received: by vws11 with SMTP id 11so902320vws.11 for ; Sat, 10 Apr 2010 00:20:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=1pxmP22MuxIWTPnxAPu/xpPB4OZH7MtsYeKvlLSvrcA=; b=VCKCCj3hy5HI3jRcj6BpTq12z7Ic0n+LALKjGDiW5Mkh+YLFKWxDn2am6UOXLUMd3U 6pIPjoA+mXlJ9pQ1GCt69F0erGSv5RCJLJaLMBPgNnbUrYb57Q2QMLrvr4OwsH9h+xfh MsiNdWvDqlyDBOi2sm1RUUtAE53EG6jUGu1jo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=eeAY0tpUUDYOnAWLEoJX4sHvMIDvDnS2/miraodkD/f0ejwtLSowJHd6NUkFwh1ZJw rZZDOUXuBzOCgjZEJKwG0wISXoITA4dQK6BLVPntoSxXDOFQTEeGdH5odnHrPOfenJM5 wzX4u6fvwfKFo9pkcHy57w8YzwMPFZpuFcajk= MIME-Version: 1.0 Received: by 10.220.45.67 with HTTP; Sat, 10 Apr 2010 00:20:12 -0700 (PDT) Date: Sat, 10 Apr 2010 12:50:12 +0530 Received: by 10.220.107.167 with SMTP id b39mr637353vcp.16.1270884012675; Sat, 10 Apr 2010 00:20:12 -0700 (PDT) Message-ID: Subject: Speeding up views after a backup/restore From: Rajkumar S To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hello, I am using rsync to backup the couchdb database. I have multiple dbs with size in the range of 50G and growing. While I have configured replication and takes backup using rsync, If at some point the entire service collapses, I need to restore my service as quickly as possible. This include restoring the database as well as the views that are being used by web interface. Right now if I restore the .couch files It will take me a lot of time to index all views all over again. So what is the best practice to restore a service (ie, not just the couch database, but the entire web service) using couchdb quickly after a catastrophic failure? with regards, raj