From user-return-14068-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Sun Dec 05 21:02:12 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 1965 invoked from network); 5 Dec 2010 21:02:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Dec 2010 21:02:12 -0000 Received: (qmail 63435 invoked by uid 500); 5 Dec 2010 21:02:02 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 63366 invoked by uid 500); 5 Dec 2010 21:02:02 -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 Delivered-To: moderator for user@couchdb.apache.org Received: (qmail 16536 invoked by uid 99); 5 Dec 2010 15:56:14 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) MIME-Version: 1.0 In-Reply-To: References: From: Jason Smith Date: Sun, 5 Dec 2010 22:55:27 +0700 Message-ID: Subject: Re: Couchone backups? To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On Sat, Dec 4, 2010 at 5:17 AM, Wordit Ltd wrote: > Is there a way to do backups on Couchone and other hosting services? > > I realise I could replicate to another couch, but that means running > couchdb on my own server as well...which partially defeats the object > of using a hosting service. I posted this question in Get Satisfaction: http://getsatisfaction.com/couchone/topics/full_data_dumps_for_backup_or_migration I'm happy have a CouchOne discussion there; however I'll share some of my thoughts about a backup. Firstly, as a very simple stopgap you can query _all_docs?include_docs=true and at least you have the basic dump of your database. Put that in cron and IMO that is good bang for the buck in early stages when you have too many irons in the fire. But a full couch backup facility would want to address at least these things: 1. Loop through _all_dbs and back up each database 2. Back up the _security objects in the databases 3. Back up the /_config object 4. Back up the log file 5. If storage is cheap, back up the .view indexes to reduce restore time -- Jason Smith CouchOne Hosting