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

Re: I need HELP recovering a DEAD repository

From: Whitehouse Kamin <kaminarianna_at_yahoo.com>
Date: 2004-04-14 20:25:16 CEST

Hi Max,

I tried the db_recover command that you suggested, but
it spews out this output

db_recover: Ignoring log file: log.0000003874:
unreadable log version 5
db_recover: Ignoring log file: log.0000003873:
unreadable log version 5
....
db_recover: Ignoring log file: log.0000000001:
unreadable log version 5

Does anybody know what that means? what can read log
version 5?

the highest log number I have is log.0000004596, so
some of them don't seem to be a problem at least.
can I recover at least those?

As a clue to what my original problem was, I tried
running version 1.0.1-1 of 'svnadmin recover' on the
(only) backup copy of my repository and it killed my
backup too! I meant to use 1.0.0-1, which I knew
worked with that repository, but I made a mistake.

please help!
kamin.

Max Bowsher wrote:
> Whitehouse Kamin wrote:
>
>>I was using 1.0.0-1 and upgraded this morning to
>>1.0.1-1 on my RH9 machine, simply by installing the
>>new rpms. then, there were problems using the
>>repository. I tried to run svnadmin 'recover, dump,
>>and verify' but it just hangs. I've tried reverting
>>back to 1.0.0-1 and it also hangs.
>>
>>I have no idea if it is doing something or just
>>hanging. The repos is 8.5Gigs, but only a meg or so
>>has changed recently. I've let svnadmin run for up
to
>>5 hrs, is this reasonable? does anybody know how
long
>>svnadmin might be expected to run, or if there is a
>>way to get more output from it (eg verbosity)?
>>Usually, it finishes in about 5secs with this repos.
>
>
> Annoyingly, the underlying database library
(Berkeley DB) provides no
> feedback during recovery.
>
> I suggest you do the following:
>
> 1. Make *absolutely sure* that no processes are
accessing the repository.
> It's probably best to rename the repository, so that
no-one else but you can
> find it during recovery.
>
> 2. Change to the db subdirectory of the repository.
>
> 3. Run "db_recover".
>
> 4. In another terminal, run "lsof | fgrep log.". The
recovery process
> usually has 2 log files open, the one currently
being processed, and the
> latest one. You can monitor recovery progress by
watching the
> currently-processed logfile move closer to the
latest.
>
>
> Max.
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail:
users-help@subversion.tigris.org
>

        
                
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 14 20:26:43 2004

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.