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

Re: Svnadmin dump / load looses lock information

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-04-20 10:44:42 CEST

On Apr 20, 2007, at 03:33, Thompson, Graeme (AELE) wrote:

>>> I have noticed that when a repository is dumped using svnadmin dump
>>> and them loaded into a fresh repository using svnadmin load it lost
>>> all of the locking information.
>>
>> [snip]
>>
>>> Is there anyhting that I am missing here?
>>
>> Yeah, you're missing the lock information. :-) Sorry, I
>> couldn't resist.
>>
>> As far as I know, the lock information simply does not get
>> included in the dumpfile, and I don't know of another way to
>> preserve it across dump/load cycles.
>
> Does anyone know whether this is a design feature or is this a bug
> with
> the dump system?
>
> I would have expected that any repository restored from a dump to be
> functionally identical to the original repository (after all it is
> intended to be a backup system to recover from server failures)

I think it was a conscious decision to only include revision data in
dumps. Other data, such as information about locks and the contents
of the hooks and conf directories, is not included. Backing up hooks
and conf in other ways is easy. I'm not sure how to back up lock
data; I don't use locks myself.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 20 10:45:11 2007

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.