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

Re: using hotcopy through a network drive

From: Blair Zajac <blair_at_orcaware.com>
Date: 2006-08-03 20:33:10 CEST

eg wrote:
> Gavin Lambert wrote:
>> I have no solid evidence one way or the other, but I'd be very
>> suspicious of it myself.
>> My understanding is that file locks are unreliable across a network (I
>> forget whether it's the Windows networking or the Linux networking
>> protocols that are particularly bad in this regard). Without reliable
>> file locks, I can't think of a way that hotcopy could safely replicate
>> the repository. I'm not saying it can't work, I'm just saying that I'd
>> be surprised if it did. But I've been surprised before :)
> This link (a bit) old, seems to confirm both of your suspicions for BDB:
> http://svn.haxx.se/users/archive-2004-05/0434.shtml

You'll be fine to copy the BDB repository to a network drive. You'll see that
the problem noted is that they ran 'svnadmin recover' on the copy made on the
network drive.

If you need to restore from the copy on the network drive, you copy it back to
your local drive and do 'svnadmin recover' on it there.

Finally, if you run 'svnadmin hotcopy' on the box that has the repository on its
local disk, you'll be fine.


Blair Zajac, Ph.D.
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 3 20:43:08 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.