[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Hot vs. Live Backups

From: Dimitri Papadopoulos-Orfanos <papadopo_at_shfj.cea.fr>
Date: 2005-09-20 10:49:16 CEST

Hi,

> I'm trying to understand the need for hot copies before backing up data.
> I believe I've read through the relevant documentation, but as I
> understand it transaction commits are atomic, so it's impossible to back
> up half a revision.

The atomicity of a transaction is achieved through lock files and such.
As a result the transaction seems atomic to users of Subversion, but
that doesn't mean the files in the Subversion repository are always in a
consistent state. For example what happens if the database is backed up
while a file is locked and being written?

A Subversion transaction is not atomic as far as the OS is concerned.
Only the Subversion user sees the transaction as an atomic operation
through the use of an additional layer over the OS (Berkeley DB).

Dimitri Papadopoulos

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 20 10:51:17 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.