incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <robert.new...@gmail.com>
Subject Re: Incremental backups
Date Thu, 25 Nov 2010 13:49:12 GMT
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 <afters.mail@gmail.com> wrote:
> On 25 November 2010 14:39, Dirkjan Ochtman <dirkjan@ochtman.nl> wrote:
>
>> On Thu, Nov 25, 2010 at 13:35, afters <afters.mail@gmail.com> 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
>>
>

Mime
View raw message