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

Re: Subversion repository maintenance

From: Nirmalya Lahiri <nirmalyalahiri_at_yahoo.com>
Date: Wed, 23 Dec 2009 20:19:50 -0800 (PST)

--- On Thu, 12/24/09, Andrey Repin <anrdaemon@freemail.ru> wrote: > From: Andrey Repin <anrdaemon@freemail.ru> > Subject: Re: Subversion repository maintenance > To: "Nirmalya Lahiri" <nirmalyalahiri@yahoo.com>, users@subversion.apache.org > Date: Thursday, December 24, 2009, 8:47 AM > Greetings, Nirmalya Lahiri! > > >  I have used subversion in my company for version > management. We maintain > > our own server for that purpose. Yesterday I have > faced a typical problem. > > Somehow the last 2 (two) revision of that repository > was corrupted after one > > of our team member committed his work, and the > repository was locked after > > then. No one was able to "update","commit","checkout" > from those two > > revision after then. > > What the error message was? > > >  On that situation, I have decided to remove > those two revision from > > repository. But I was not able to do so. After > searching net, I found only > > one solution, the steps are.... > > > 1) Take a back of repository (except those corrupted > revision). > > 2) Recreate repository. > > 3) Restore repository from backup. > > Did you mean to dump repository up to the latest working > revision? > Or how specifically you managed to solve it? > (nvm, it is, you mentioned it later in the post) > > >  My problem was solved by these steps. But my > question is, if a revision in > > the middle of the repository may corrupt, then how can > I remove that > > revision from repository? Because in "svnadmin dump" > > command I can specify only one range of revision > number ; not multiple. Take > > an example.. > > svnadmin dump can create incremental diff, so you can dump > the beginning, then > the ending, skipping that in the middle, then join it in > single repository. > At least, that the idea. > > > List of revision in repository.... > > > > 1..2..3..4..5..............75..76..77................135..136..137 > > >  In my case only 136 and 137 revision was > corrupted. I have used the command > > "svnadmin dump -r 1:135" to take backup. But in some > case if 76 revision > > will corrupt then how can I take backup of two range > (1-75 and 77-137). And > > also how can I restore them? > > I think I have answered your question. Hope you can find > more info in > documentation by yourself. May be also worth looking into > http://svnbook.org - > there could be more info too. > > > -- > WBR, > Andrey Repin (anrdaemon@freemail.ru) > 24.12.2009, <6:12> > > Sorry for my terrible english... > > Repin, Thanks... I got my answer from your mail. The incremental dump is the only solution of eliminating a range of revision from a repository. --- নির্মাল্য লাহিড়ী [Nirmalya Lahiri] +৯১-৯৪৩৩১১৩৫৩৬ [+91-9433113536]
Received on 2009-12-24 05:20:30 CET

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.