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

Re: Database corrupted after power failure

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-10-13 16:37:01 CEST

Dave Camp <dave@thinbits.com> writes:

> -rw-r--r-- 1 dave dave 1738 11 Oct 13:11 DB_CONFIG
> -rw-r--r-- 1 dave dave 61440 11 Oct 18:05 changes
> -rw-r--r-- 1 dave dave 8192 11 Oct 19:57 copies
> -rw-r--r-- 1 dave dave 4 11 Oct 13:11 fs-type
> -rw-r--r-- 1 dave dave 65502 11 Oct 19:57 log.0000000002
> -rw-r--r-- 1 dave dave 1047376 11 Oct 18:05 log.0000000005
> -rw-r--r-- 1 dave dave 98238 11 Oct 18:05 log.0000000006
> -rw-r--r-- 1 dave dave 40960 11 Oct 18:05 nodes
> -rw-r--r-- 1 dave dave 45056 11 Oct 18:05 representations
> -rw-r--r-- 1 dave dave 8192 11 Oct 19:57 revisions
> -rw-r--r-- 1 dave dave 4300800 11 Oct 18:05 strings
> -rw-r--r-- 1 dave dave 8192 11 Oct 19:57 transactions
> -rw-r--r-- 1 dave dave 8192 11 Oct 19:57 uuids

There's a noticeable gap in your log file set. Try this:

   cp -a repos repos.backup
   rm repos/db/log.0000000002
   db_recover -vech repos/db

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 13 16:39:55 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.