Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 11848 invoked from network); 7 Apr 2009 09:36:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Apr 2009 09:36:26 -0000 Received: (qmail 56629 invoked by uid 500); 7 Apr 2009 09:36:25 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 56542 invoked by uid 500); 7 Apr 2009 09:36:24 -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 56532 invoked by uid 99); 7 Apr 2009 09:36:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2009 09:36:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sven.helmberger@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 07 Apr 2009 09:36:14 +0000 Received: (qmail invoked by alias); 07 Apr 2009 09:35:53 -0000 Received: from i59F57795.versanet.de (EHLO [192.168.0.101]) [89.245.119.149] by mail.gmx.net (mp069) with SMTP; 07 Apr 2009 11:35:53 +0200 X-Authenticated: #1594082 X-Provags-ID: V01U2FsdGVkX19mirYCbI9mKikKnUXMPI3U0h9JGF4/IRcz9o1tTF dr7jd5GiFWRMsn Message-ID: <49DB1E78.6050500@gmx.de> Date: Tue, 07 Apr 2009 11:35:52 +0200 From: Sven Helmberger User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Re: Using rsync to backup a couchdb database References: <49DAF78B.3060805@michevan.id.au> In-Reply-To: <49DAF78B.3060805@michevan.id.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.78 X-Virus-Checked: Checked by ClamAV on apache.org Evan McLean schrieb: > In one of the recent podcasts, it was mentioned that to backup a couchdb > database you can just copy the file. I understand how this works with > using cp as the important header blocks are in the start of the file and > the rest is append only. > > It was also stated that you could use rsync and I wasn't so sure. Is it > safe to assume that rsync starts at the start of the file and works it's > way forward like a regular copy program would? Not that familiar with > the inner workings of it. > > E. Since rsync just uses clever interleaved hashing to find out which parts of the files have changed, it will find out that there was only stuff appended to the files and just replicate that. I don't see why this shouldn't work. Regards, Sven Helmberger