Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 68872 invoked from network); 25 Nov 2010 13:49:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Nov 2010 13:49:40 -0000 Received: (qmail 23799 invoked by uid 500); 25 Nov 2010 13:49:38 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 23757 invoked by uid 500); 25 Nov 2010 13:49:38 -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 23749 invoked by uid 99); 25 Nov 2010 13:49:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 13:49:38 +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 (athena.apache.org: domain of robert.newson@gmail.com designates 209.85.216.52 as permitted sender) Received: from [209.85.216.52] (HELO mail-qw0-f52.google.com) (209.85.216.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 13:49:33 +0000 Received: by qwf7 with SMTP id 7so423858qwf.11 for ; Thu, 25 Nov 2010 05:49:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=AIUDAJhQ1surOJvh0M3QgJGze2uAtCUqmwjQmguFrsU=; b=SulzyJ94ANdGmBARSMB8ytWE5/9AnLywprncMdlPlaKUjOgcfYwDaUsQh3SRQfvp3l W2tkyC0Z741KwaH6CLslGlkrllytTVvHM3BRPcuF4jGs9+u9qfQQljeBe/gwbc5d/lpn 8sv84fHcqES31zBRDw8PaZf4tqfkJ6SqR5FlA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=BN5EE4ORulqGegLj23qMBFCC9Et+PKpwrvkuOzenY5x2bym/1fpU/VYCwl3XEJ7d+L iVyAtqxnMK75Fn7o73sSqnAp0y+KbeVM7CkiIg7TwyauGiY5oMidPYDTIlLN/nKKm0CW lF4RUcphHQikv4w80hfP7Dg3rWFnai2WOuCmg= MIME-Version: 1.0 Received: by 10.224.28.211 with SMTP id n19mr752473qac.376.1290692952537; Thu, 25 Nov 2010 05:49:12 -0800 (PST) Received: by 10.220.175.141 with HTTP; Thu, 25 Nov 2010 05:49:12 -0800 (PST) In-Reply-To: References: Date: Thu, 25 Nov 2010 13:49:12 +0000 Message-ID: Subject: Re: Incremental backups From: Robert Newson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 You can copy the .couch file at any time and this will yield a usable snapshot of the database. B. On Thu, Nov 25, 2010 at 1:41 PM, afters wrote: > On 25 November 2010 14:39, Dirkjan Ochtman wrote: > >> On Thu, Nov 25, 2010 at 13:35, afters wrote: >> > Could you elaborate a bit? this sounds like a full backup to me? >> >> (please post your reply below the text you're replying to, to >> facilitate linear reading) >> >> No, replication only propagates document revisions that are new in the >> source database. You can see in Futon how a database maintains an >> "Update Seq", which is an identifier for the full contents of the >> database at the time. By only transmitting only the updates after a >> seq the target database already has, replication is fairly efficient. >> > > I should have been clearer. I'd like to know if in this method you can > recover not only the from the latest state of the db, but also from previous > states. If I simply backup a file with rsync once every day, I can recover > the state of the db from each of day. > > > >> >> Cheers, >> >> Dirkjan >> >