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

Re: truncated db/current file

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-05-13 15:13:39 CEST

On Thu, 12 May 2005, Jeffrey Chang wrote:

> Investigating the error message, it appears that the db/current file
> got truncated somewhere, and now has 0 file length.
>
> Is there any way to recover this file or regenerate it? This kind of
> error doesn't seem to be something that svnadmin can handle.
>
I haven't tested, but I *think* a dump/reload should resolve it.

Run svnadmin dump on the repo and redirect to a file. Run svnadmin lod on
a new repo with input from the dump file. Save the old repo (IMPORTANT!)
and move the new repo into place.

Hmmm... I wonder how this file got truncated. It is written and moved into
place atomically.

Hope this helps,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 13 15:38:18 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.