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

Re: In regards to "missing db/revs, db/revprops and db/current files?" post on Collabnet

From: Tonte Pouncil <etnot96_at_yahoo.com>
Date: Sun, 12 Oct 2008 12:26:37 -0700 (PDT)

Thanks for the advise. I have a few more question about your suggested approach.

1. What would a batch script look like for doing the incremental dump?
2. How do I ignore the UUID in the first dump?

I wonder if I could I fake out subversion, when performing a dump, by changing the files that depend on the missing files to point some arbitrary existing file. Will this work?


----- Original Message ----
From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
To: Tonte Pouncil <etnot96_at_yahoo.com>
Cc: d.s_at_daniel.shahaf.name; Subversion Users <users_at_subversion.tigris.org>
Sent: Sunday, October 12, 2008 1:41:34 PM
Subject: Re: In regards to "missing db/revs, db/revprops and db/current files?" post on Collabnet

On Oct 12, 2008, at 13:20, Tonte Pouncil wrote:

> Sorry my first email didn't not have a subject in it.
> ----- Original Message ----
> From: Tonte Pouncil <etnot96_at_yahoo.com>
> To: subversion-2008c_at_ryandesign.com; d.s_at_daniel.shahaf.name
> Sent: Sunday, October 12, 2008 1:16:36 PM
> Subject:
> Hello ,
> I apologize for emailing you directly, but I do not know how to
> post a message to the users_at_subversion.tigris.org. I am not sure
> if my question is being post because I don't see it come back
> through my email inbox. BTW I have created an account on
> collabnet.com but still don't know how to respond to the post
> there. I am more than willing and would be glad to append my post
> to the original thread, but I just don't know how.

List instructions are here:


You don't need an a CollabNet or Tigris account, but if you were not
subscribed to the list when you sent your message, it will take some
time for the moderators to approve it.

It's probably difficult to respond to a thread if you don't already
have the email(s) of that thread in your email program. But it's fine
to post a new message and mention an earlier thread, ideally by
including its URL in the list archive. The thread is:


> I am emailing you in regards to the post "missing db/revs, db/
> revprops and db/current files?". I am having a very similar issue
> with my svn repository. I am missing the following files: 76, 78,
> 79, 80, and 83 in db/revs/ directory. However I am not missing any
> file in the db/revprops directory. I also tried to do incremental
> backups based on revision numbers that I do have; but that did not
> work either, as other revision files pointed back to the missing
> revision files.
> How do I recreate these missing files? How do I correct this issue?

If you do not have a backup of your repository, you probably cannot
recreate the missing revision files, or use those subsequent
revisions that refer back to them; the data is lost. You could write
a script to do an incremental dump of each revision in the
repository, ignoring errors. Then load these into a new repository
(being sure to ignore the UUID in the first dump so that a new UUID
is generated, since this will be a different repository.) This will
at least give you the data of those revisions not affected by the
missing revisions. And then be sure to set up a good backup strategy!
Received on 2008-10-13 05:47:47 CEST

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.