You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Markus Schaber <m....@codesys.com> on 2014/07/02 09:11:36 UTC

AW: Recreate SVN DB

Hi, Patel,

I'm sorry I cannot directly help you.

Your case is a rather complicated one.

There are companies which offer commercial support including hex-editing broken repositories.

Amongst them are Elego, Collab.net and WanDisco - you may contact them to ask for help in your case.

(I'm not related to any of those companies, and my employer does not offer this kind of services.)

Best regards

Markus Schaber

CODESYS® a trademark of 3S-Smart Software Solutions GmbH 

Inspiring Automation Solutions 
________________________________________
3S-Smart Software Solutions GmbH 
Dipl.-Inf. Markus Schaber | Product Development Core Technology 
Memminger Str. 151 | 87439 Kempten | Germany 
Tel. +49-831-54031-979 | Fax +49-831-54031-50 

E-Mail: m.schaber@codesys.com | Web: codesys.com | CODESYS store: store.codesys.com 
CODESYS forum: forum.codesys.com 

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915 
Von: Saurabh Patel [mailto:patel.saurabh@gmail.com] 
Gesendet: Donnerstag, 26. Juni 2014 20:31
An: users@subversion.apache.org
Betreff: Recreate SVN DB

Hello,

I really need some help!! I accidentally deleted my Repository folder. I have a backup of it from last year, and have a incremental backup of it as well. Unfortunately my backup system had problems and so the only thing I could retrieve from the most recent backup was the "db" folder which has the revprops and rev folder and current file. Under the revprops and rev folders, I notice the files in there are from 825-891. My backup from last year has files from 0-816. So I'm missing files 817-824. Now I can open my last year's backup just fine using Repo-Browser, but can't seem to open the most recent backup as it only has the db folder. Is there a way I can merge all these files together without the missing files? I use Tortoise SVN 1.7. Please help. Any help or advice is really appreciated.

Thank you,
-S 

Re: Recreate SVN DB

Posted by Saurabh Patel <pa...@gmail.com>.
Hi Stefan,

Thank you for your reply, however at this time I think we're just going to
go ahead with the data I was able to recover and take extra caution as far
as backups are concerned.
Thanks again!

Saurabh


On Wed, Jul 2, 2014 at 3:05 PM, Stefan Sperling <st...@elego.de> wrote:

> On Wed, Jul 02, 2014 at 07:11:36AM +0000, Markus Schaber wrote:
> > There are companies which offer commercial support including hex-editing
> broken repositories.
>
> I'm not sure this is a good answer in general for questions asked
> on the users@ list, which is a free best effort support forum.
>
> Loss of data is tragic, and it seems in this case that several revision
> files (817-824) have been lost. It might still be possible to extract
> a full text if any of the files in the 825-891 range were saved as full
> texts, rather than deltas. This is the case for representations which
> begin with a line saying
> "DELTA\n"
> instead of
> "DELTA <rev> <item_index> <length>\n"
>
> Saurabh, are there any revision files among the 825-891 range which
> contains contain lines saying just "DELTA"?
>
> > Hello,
> >
> > I really need some help!! I accidentally deleted my Repository folder. I
> have a backup of it from last year, and have a incremental backup of it as
> well. Unfortunately my backup system had problems and so the only thing I
> could retrieve from the most recent backup was the "db" folder which has
> the revprops and rev folder and current file. Under the revprops and rev
> folders, I notice the files in there are from 825-891. My backup from last
> year has files from 0-816. So I'm missing files 817-824. Now I can open my
> last year's backup just fine using Repo-Browser, but can't seem to open the
> most recent backup as it only has the db folder. Is there a way I can merge
> all these files together without the missing files? I use Tortoise SVN
> 1.7. Please help. Any help or advice is really appreciated.
> >
> > Thank you,
> > -S
>

Re: Recreate SVN DB

Posted by Stefan Sperling <st...@elego.de>.
On Wed, Jul 02, 2014 at 07:11:36AM +0000, Markus Schaber wrote:
> There are companies which offer commercial support including hex-editing broken repositories.

I'm not sure this is a good answer in general for questions asked
on the users@ list, which is a free best effort support forum.

Loss of data is tragic, and it seems in this case that several revision
files (817-824) have been lost. It might still be possible to extract
a full text if any of the files in the 825-891 range were saved as full
texts, rather than deltas. This is the case for representations which
begin with a line saying
"DELTA\n" 
instead of
"DELTA <rev> <item_index> <length>\n"

Saurabh, are there any revision files among the 825-891 range which
contains contain lines saying just "DELTA"?

> Hello,
> 
> I really need some help!! I accidentally deleted my Repository folder. I have a backup of it from last year, and have a incremental backup of it as well. Unfortunately my backup system had problems and so the only thing I could retrieve from the most recent backup was the "db" folder which has the revprops and rev folder and current file. Under the revprops and rev folders, I notice the files in there are from 825-891. My backup from last year has files from 0-816. So I'm missing files 817-824. Now I can open my last year's backup just fine using Repo-Browser, but can't seem to open the most recent backup as it only has the db folder. Is there a way I can merge all these files together without the missing files? I use Tortoise SVN 1.7. Please help. Any help or advice is really appreciated.
> 
> Thank you,
> -S