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

RE: recovering a corrupt repository

From: Peter Kahn <pkahn_at_connected.com>
Date: 2005-03-08 22:41:21 CET

You say "no matter what command I run on the repository I get that error

message. I am running svn 1.1.2 on Windows 2000 Server"

Does this include the following commands:
        svnadmin recover
        svnadmin dump

As far as I see it, you have three options for recovery listed from
least painful to most:
1. recovery - svnadmin recover
2. go to a backup
3. reconstitution - svnadmin dump > to file, make new repos, svnadmin
load from file

I haven't yet seen recovery fail in my environment. It takes somewhere
between 20 minutes and 16 hours for my db and has been between one and
two hours for the past 5 times it has happened.

--
Peter Kahn
pkahn@connected.com
Connected Corporation,
A subsidiary of Iron Mountain Incorporated
-----Original Message-----
From: Ben Scheirman [mailto:ben@lyntonweb.com] 
Sent: Tuesday, March 08, 2005 4:09 PM
To: users@subversion.tigris.org
Subject: recovering a corrupt repository
Earlier I sent a message out with a problem of a corrupted repository.  
I have since created a fresh repository because we need to continue 
development and I don't know how long it will be before I can fix it.  
What are some things I can try to recover the db?  The error message I 
got was:
svn: Berkeley DB error while checkpointing after Berkeley DB transaction
for filesystem /svn/repository/db:
Invalid argument
svn: bdb: DB_ENV->log_flush: LSN of 2699/250148 past current end-of-log 
of 2699/
214302
svn: bdb: Database environment corrupt; the wrong log files may have 
been remove
d or incompatible database files imported from another environment
svn: bdb: strings: unable to flush page: 0
svn: bdb: txn_checkpoint: failed to flush the buffer cache Invalid
argument
no matter what command I run on the repository I get that error 
message.  I am running svn 1.1.2 on Windows 2000 Server.  I get this 
when using command line locally as well as remotely through apache
webDAV.
I really don't want to lost our 260 revisions of history.  Any Ideas?
TIA,
-Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 8 22:46:16 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.