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

Re: backing up fsfs repo

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2006-07-05 17:35:36 CEST

Nico Kadel-Garcia wrote:
> ----- Original Message -----
> From: "Ulrich Eckhardt" <eckhardt@satorlaser.com>
> To: <users@subversion.tigris.org>
> Sent: Wednesday, July 05, 2006 7:45 AM
> Subject: Re: backing up fsfs repo
>
>
>> On Wednesday 05 July 2006 12:16, spock@dwinner.net wrote:
>>> Can anybody tell me what the implications of just doing a normal backup
>>> (unix dump or tar of flat file structure) of an fsfs repo might be? Is it
>>> safe, or should I still be using "svnadmin dump"?
>> IMHO, yes, because it is The Documented Way(tm) to make backups.
>
> It's a slight bit risky, because if files are being written while being
> tarballed, you may wind up with an incomplete change recorded on the last
> last commit operation. FSFS seems much better about this than BDB, though.
>

This is wrong.
The only way you can get screwed up is if you do not copy the current
file first.
As long as you do that, it does not matter what writes occur afterwards,
the repo will still be fine (this is because old revisions are immutable
in FSFS).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 5 17:40:29 2006

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