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

Re: hotbackup & FSFS repos

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-01-19 12:49:41 CET

On 1/18/2006 1:20 PM, Ryan Schmidt wrote:
> On Jan 18, 2006, at 15:47, Paul Koning wrote:
>
>>> i dont need to bother with hotbackups with FSFS repos,
>>> correct? only use that with berkeley db-based repos?
>> I wonder. The doc doesn't say that, and hotcopy certainly works just
>> fine with FSFS.
>>
>> It sure would be nice to have a supported "cold copy" procedure. So
>> far I have a lot of rumor on how to construct one but no guidance from
>> the most knowledgeable people...
>
> I thought I had heard on this list that doing a regular filesystem
> copy of a live FSFS repository is perfectly fine, and that though the
> hotcopy procedure would work too, it was unnecessary.

Here's an (unlikely) way it could fail:

You copy a revision file (from your repos/db/revs directory) just as svn
opens it to write a new revision in. You get a zero length copy instead
of the final version.

There are likely other ways to get incomplete versions of files, which
mean your backup is invalid. Why not use hotcopy?

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 19 13:22:17 2006

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.