Dean Iverson wrote:
> We switched to subversion from CVS a few months ago. We have now
> experienced a server crash and I am attempting my first recovery of a
> subversion database.
>
> From searching the internet and the archives of this newsgroup, I have
> understood that if I have a recent snapshot of the repository and
> recent log files, I should be able to copy the log files into the older
> repository and do a "db_recover -vec" to have the database reapply the
> changes from the log files.
>
> I had a dump of the database from a couple of months ago. In addition
> I was able to salvage most of the recent log files from the repository.
> So I created a new repository and loaded the dump file into it. This
> got me up to log.0000000099. I then copied log files log.*99 through
> log.*227 into this new repository and ran "db_recover -vec" from the
> repository's db directory.
You can't do this. To use Berkeley DB log files in this way, you need an
actual backup of the Berkeley DB database itself. One reconsituted from a
dump file is a completely different database as far as Berkeley DB is
concerned, and the log files cannot be applied.
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 27 22:39:55 2005