Rescuing SVN BDB Steps

Hey Guys,
Don't know about you guys but I had a wonderful start to my day. A 2 year old SVN repository that has never been backed up starting failing. We can no longer use it, all our work is locked in the BDB files and we're a little shafted!
Have spent all day with this. This is where I am.
svnadmin verify - fails after revision 17 though there are 4700 revisions.
svnadmin restore - doesn't work
Then I got looking at direct BDB functions
db_restore - didn't do anything at all which was odd
db_verify strings - worked, returned a whole load of Unreferenced Pages
Am currently running db_dump -r into a file which I intend to feed to db_load later.
But there is more than 1 db file corrupt here .. can i individually dump and reload them??
-- Additional Info
Getting a lot of this type of thing from the SVN changes and representations files. Whilst strings gives just Unrefereced Pages.
dlx35203:/var/svn/db# db4.4_verify changes
db4.4_verify: Page 5315: item 0 of unrecognizable type
db4.4_verify: Page 5315: item 1 of unrecognizable type
db4.4_verify: Page 5315: item 2 of unrecognizable type
db4.4_verify: Page 5315: item 4 of unrecognizable type
db4.4_verify: Page 5315: item 6 of unrecognizable type
db4.4_verify: Page 5315: item 7 of unrecognizable type
db4.4_verify: Page 5315: item 9 of unrecognizable type
db4.4_verify: Page 5315: item 10 of unrecognizable type
db4.4_verify: Page 5315: item 11 of unrecognizable type
db4.4_verify: Page 5315: item 12 of unrecognizable type
db4.4_verify: Page 5315: item 13 of unrecognizable type
db4.4_verify: Page 5315: item 14 of unrecognizable type
db4.4_verify: Page 5315: item 16 of unrecognizable type
db4.4_verify: Page 5315: item 17 of unrecognizable type
db4.4_verify: Page 5315: item 18 of unrecognizable type
db4.4_verify: Page 5315: item 19 of unrecognizable type
db4.4_verify: Page 5315: item 20 of unrecognizable type
db4.4_verify: Page 5315: item 21 of unrecognizable type
db4.4_verify: Page 5315: item 22 of unrecognizable type
db4.4_verify: Page 5315: item 24 of unrecognizable type
db4.4_verify: Page 5315: gap between items at offset 1136
db4.4_verify: Page 5315: gap between items at offset 1260
db4.4_verify: Page 5315: gap between items at offset 2212
db4.4_verify: Page 5315: gap between items at offset 3032
db4.4_verify: Page 5315: gap between items at offset 3384
db4.4_verify: Page 5315: gap between items at offset 3624
Should this work do we think?
Christ, I need this SVN repo back, any help / tricks appreciated!
Edited by: user11958941 on Sep 30, 2009 6:58 AM

Hi,
You can probably get your data back using the Berkeley DB [db_dump|http://www.oracle.com/technology/documentation/berkeley-db/db/api_reference/C/db_dump.html] utility. I'd suggest trying the db_dump utility, with or without the -r and -R options and see how that works.
More details on how to dump and reload the database are in the Chapter 22 from the reference guide: [Dumping and Reloading Databases|http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/dumpload.html]
user11958941 wrote:
db_restore - didn't do anything at all which was oddYou are talking about db_recover, not db_restore, right? How did you configure Berkeley DB? Are you having any log files around? Are you using an environment? The Berkeley DB flags that you use when you open the database and the environment may help us understand if you can run recovery.
user11958941 wrote:
But there is more than 1 db file corrupt here .. can i individually dump and reload them??Yes, you can. If you have more databases in the same file, you can use -s option for db_dump.
Bogdan Coman

Similar Messages

  • HT4623 While uploading my I phone 5, I came to rescue e-mail step and I am stuck there I can not move forward even though I press the next button

    While uploading my I phone 5, I came to rescue e-mail step and I am stuck there I can not move forward even though I press the next button

    annestenvad wrote:
    I'm not able to run a test myself, right? I'm definitely going back to the repair store tomorrow!
    Wrong!  Check out KB Article:  Intel-based Macs: Using Apple Hardware Test
    Personally, I would not be running no test.  Apple has a 90 day warranty on all their repairs.  Return your computer to the repair shop but this time.......
    When it’s time to pick up your computer from the repair shop:
    *** Before you leave the repair shop, make sure you have the repair tech(s) power the comp up and demonstrate that it is indeed working & repaired properly too your satisfaction.***

  • [svn] 3930: Step 1 of memory improvements

    Revision: 3930
    Author: [email protected]
    Date: 2008-10-28 09:30:24 -0700 (Tue, 28 Oct 2008)
    Log Message:
    Step 1 of memory improvements
    GraphicElement now optimizes away its AdvancedLayoutFeatures as long is has a trivial (translation only) transform matrix.
    Added a new OnDemandEventDispatcher class that only allocates memory for event dispatcher functionality when it gets its first listener.
    GraphicElement, OverrideBase, and LayoutBase extend OnDemandEventDispatcher.
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as
    flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/states/OverrideBase.as
    Added Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OnDemandEventDispatcher.as

    Thanks again Koen,
    I am developing remotely on a development server. So when I run SSDT I am running it within the development server box. My current technology / environment mix means I can't run SSDT from my local desktop.
    I am pretty sure that scanning of the rows is an issue causing performance, e.g. if I just click on the data source component SSDT freezes for several minutes, unless I just have a cut down version of the Excel file, say first 5,000 rows, then the response
    of SSDT is acceptable.
    Also when I have SSDT pointing to the full spreadsheet and I click around in the associated Data Flow I notice devenv.exe* 32 slowing grabbing 4gb of RAM and releasing it according to Windows Task Manager. 
    Kind Regards,
    Kieran.
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

  • Rescue and recovery unavaliabl​e

    Hi i have a lenovo 3000 J series desktop (2005)
    model - H7G
    machine type - 8259 
    MFG - 612
    product id - 8259H7G
    My computer was failing on start up at (press key to interupt normal boot) screen & fan was running constantly.
    Downloaded tvtrnr423_017en.exe ( (English) Rescue and Recovery 4.23 for Windows XP) & stored onto cd disc ,then inserted disc onto xp computer.
    From then on i can access the computer , but i want to reinstall operating system .
    for some reason when i try to use rescue and recovery 
    Step 1(restore my entire hard drive , including all personal data and settings from backup) click next 
    Step 2 drop down window (local hard drive)   box below is empty  the next button is not highlighted?.
    Is there anything i can do to get to factory settings, thanks dave.

    hey davel12,
    for you to restore your system, did you create a system recovery disc prior to the issue that you're currently having ?
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • Hello, i have been sent the following email from apple: - You've taken the added security step and provided a rescue email address. Now all you need to do is verify that it belongs to you... and asks for apple login details, is this a genuine request?

    Hello, i have been sent the following email from apple, see below and asks for apple login details, is this a genuine request?
    Thank you.
    You’ve taken the added security step and provided a rescue email address. Now all you need to do is verify that it belongs to you.
    The rescue email address that you gave us is [email protected]
    Just click the link below to verify, sign in using your Apple ID and password, then follow the prompts.
    Verify Now >
    The rescue email address is dedicated to your security and allows Apple to get in touch if any account questions come up, such as the need to reset your password or change your security questions. As promised, Apple will never send any announcements or marketing messages to this address.
    When using Apple products and services, you’ll still sign in with your primary email address as your Apple ID.
    It’s about protecting your identity.
    Just so you know, Apple sends out an email whenever someone adds or changes a rescue email address associated with an existing Apple ID. If you received this email in error, don’t worry. It’s likely someone just mistyped their own email address when creating a new Apple ID.
    If you have questions or need help, visit the Apple ID Support site.
    Thanks again,
    Apple Support

    In that case, someone is trying to hi-jack your Apple ID.
    You should change your password immediately.

  • HT5312 I want to change my rescue email address. When I get to step 4 above no Password and Security to click. Is there an easy way to do this?

    I want to change my rescue email address.I've followed the instructioins to step 4. I have no 'Password and Security@ to click. Is there an easy way to change it?

    Welcome to the Apple Community.
    It should be here.

  • HT5622 while updating, after submission of rescue email next button is not taking next step. what should I do?

    while updating, after submission of rescue email next button is not taking next step. what should I do?

    Not to come across as rude, but no one has any suggestions because the post is very long with lots of detail - and it is not a technical question.
    What should you do? Call the store, call AppleCare, call Apple Customer Relations, but no one here could possibly do anything to spur on either the Apple Store or Best Buy.

  • HT5312 I follow the steps to the manage my account page, then I get to my security questions and it doesn't give the option to send an e-mail to my rescue address. Can anyone help?

    I follow the steps to the manage my account page, then I get to my security questions and it doesn't give the option to send an e-mail to my rescue address. Can anyone help?

    You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (103693)

  • HT1349 Updating my iphone 4 with ios 7 software. Cannot get past Rescue Email! Ive updated my info thru apple id website. Am I missing a step??? Would love to use my phone!

    Updating iphone 4 with ios 7 software. Made it thru download and am now setting up security questions and it says optional rescue Email. However I do not have the option to skip this page. I even submitted a rescue email and registered it with my apple id on this website but cannot progress in set up. Am I missing a step? Phone is now in emergency mode only! Not sure what to do next.... Any suggestios?

    Forgot to add that I want to power my phone off but cannot due to broken button... Any other way to power this phone off to help fix original problem!!

  • T500 Rescue and Recovery fail at boot menu step f

    I have been attempting rescue and recovery with the DVDs and when I get to step f the arrow keys don't work. They work for the previous stps and I can't move forward in the recovery without this step - any tips? Thanks so much!

    Hello Ladygraye and welcome to community,
    Kindly update the BIOS and then try running the recovery. Also not the maximum supported hard disk capacity for this laptop is 320 GB, 7200 rpm
    Best Regards,
    Tanuj
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution".! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • I am giving up my primary email address. i want to use what is now my rescue email address as primary. what steps do i take?

    i am giving up my primary email address. i want to use what is now my rescue email address as primary. what steps do i take?

    You will need to remove the address as your rescue email address first, which you can do by logging into your account via http://appleid.apple.com, selecting the Password & Security section and answering the security questions.
    Changing rescue email address : http://support.apple.com/kb/HT5620
    You can then try putting it as your primary email address, which you can do either via that site, by tapping on your id in Settings > iTunes & App Store on your phone and logging into, or via the Store > View Account menu option on your computer's iTunes. If you don't do it directly on your phone you might then need to log out of your account by tapping on it in Settings > iTunes & App Store and then log back in with the updated version.
    After changing your primary email address : http://support.apple.com/kb/HT5796

  • HT201356 Can you please put the steps to change the rescuer email address since I cannot receive any emails

    Can you please put the steps to change the rescuer email address since I cannot receive any emails

    The steps on the page that you posted from should work, but you can only change your rescue email address if you remember your answers to your security questions :
    - log into the account via the 'manage your apple id' button on http://appleid.apple.com
    - select the Password & Security section on the left-hand side of your account's screen
    - answer the account's security questions
    - you will then get a screen where you can change the address (and/or the questions)
    If you can't remember your answers, and you aren't receiving the reset email to your current rescue email account (and you've checked the spam folder as well as the inbox on it, and tried clicking the reset link again) then you will have to contact Support in your country to get the questions reset.
    Contacting Apple about account security : Contact Apple for help with Apple ID account security
    If your country isn't on that page then try this form to contact Support : https://www.apple.com/emea/support/itunes/contact.html
    When they've been reset follow the above steps for changing your rescue email address

  • HT5312 i am having problems editing the security questions i do not remember i specifically followed the steps and the "send to rescue email" option does not appear even though my rescue email is verified please help me

    i am having problems editing the security questions i do not remember i specifically followed the steps and the "send to rescue email" option does not appear even though my rescue email is verified please help me
    <Email Edited by Host>

    As these are public forums, you're not talking to iTunes Support,  I've asked the hosts to remove your email address from your post - it's not a good idea to post it unless you like spam email.
    The reset link will only show if you have a rescue email address on your account - a rescue email address is not the same as an alternate/secondary email address, they are different addresses/settings on an account.
    If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you won't get the reset option - you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down the page that you posted from to add a rescue email address for potential future use

  • An Elephant stepped on my Thinkpad - Rescue and Recovery

    My backup solution for my thinkpad is an external usb drive using Rescue and Recovery which I keep at my place of work. So if I lose my laptop or it gets stolen or an elephant steps on it (at the zoo?), I still have my backup.
    And if the building burns down where the usb drive is stored, I still have my laptop which I always take home every night. I think its a pretty good redundancy solution. The only risk is if I go out for lunch, leaving the thinkpad in the office and the building burns down destroying the laptop and external hard drive together. Its a risk I'm willing to accept.
    Now most backup systems have a "recovery disk" where if your computer stops working or is subject to one of the disasters mentioned above, you can load this disk into another computer, boot into a recovery operating environment and recover your precious files. Thinkpad's Rescue and Recovery system goes one step further where you can have the recovery environment on the usb hard drive itself. All you have to do is plug it in and turn on your computer to boot into the recovery operating system. Great idea!
    Well I thought......and here is my dilemma....
    If my thinkpad is stepped on by an elephant, I would naturally plug my usb drive into my desktop to recover my data files. The problem is, my desktop isn't a Lenovo...so the Rescue and Recovery operating environment doesn't load into memory. It seems to go into this continuous loop of trying to load but fails. Remember I don't want to install Rescue and Recovery onto my desktop, I just want it to load into memory so that I can get access to my back up and transfer my data files to my desktop until such time when I purchase another Thinkpad.
    So my question to this forum is; is it true? is Rescue and Recovery crippled in this way that it only works on Lenovo branded machines, even if your Lenovo has been stepped on by an elephant and you don't have another Lenovo immediately on hand?
    I mean, is the Rescue and Recovery back up solution, just an external hard drive or is it really a external hard drive and another Lenovo computer
    Or is there something (I hope) I have to do in the desktop Bios to be able to get Rescue and Recovery working?
    Just wondering...has anyone done a similar test?   

    Hello,
    Hopefully this email reaches you before an elephant steps on your ThinkPad.
    You might find a white paper I wrote about a year ago of interest:  It's called Options for backing up your computer [PDF, 861KB] and goes over some of the various ways in which home and SOHO users can backup their systems.  It's product and operating system agnostic, so it doesn't get into specific recommendations for tools to use, but does go over the types of backup hardware and software available.  One thing it does not cover is cloud-based solutions, though, so that's something you'll want to look into separately.
    You didn not mention which model of ThinkPad you had, but you might want to look into something like a Pelican Case for yours, if it fits.  While I'm not sure it would be very effective against elephants, it should give you a chance against probably anything smaller than one of the big cats.
    Regards,
    Aryeh Goretsky
    I am a volunteer and neither a Lenovo nor a Microsoft employee. • Dexter is a good dog • Dexter je dobrý pes
    S230u (3347-4HU) • X220 (4286-CTO) • W510 (4318-CTO) • W530 (2441-4R3) • X100e (3508-CTO) • X120e (0596-CTO) • T61p (6459-CTO) • T43p (2678-H7U) • T42 (2378-R4U) • T23 (2648-LU7)
      Deutsche Community   Comunidad en Español Русскоязычное Сообщество

  • Step by step instructions for recovering your system using ThinkVantage Rescue and Recovery

    Official Instructions for using ThinkVantage Rescue and Recovery.
    Message Edited by carbon_unit on 11-04-2008 03:24 PM
    T60 2623-D7U, 3 GB Ram. Dual boot XP and Linux Mint.
    T400 2765-T7U Windows 7
    Registered Linux User #160145
    FYI: I am not employed by Lenovo

    I installed Win 7 Pro 64 on my T400, ran TVSU and installed R&R 4.3. Fortunately, I didn't read those instructions first, or I might not have done it
    Have you tried just installing R&R? If it needs anything else, it should ask for it during the install. IIRC, it does require the VCC+ package.
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

Maybe you are looking for

  • Unable to log in to BlackBerry ID after OS10.3 update - Now playing tennis with BB Help and my service provider

    I am running OS 10.3.1.1779 on my BB Q10 and recently purchased a BB Classic thus wanted to switch device. The BB Q10 neither allows me to download switch or back up my device using BlackBerry Link - it keeps asking to sign in to my BBID. I am able t

  • Office 2010 & syncing with Google

    My employer recently upgraded to Microsoft Office 2010 & now I'm unable to sync my Outlook calendar with my Google calendar.  I contacted IT & was told that Google Calendar isn't a TAL approved program to have installed on our work computers.  Is the

  • PUBLISHING VIDEOS

    Videos made at the imovie base (pre programmed) can be published at youtube, or they have copyright from the contributing authors from Apple partners?

  • Tecra M11 - BIOS Password recovery

    Hello I have following Toshiba Tecra model : Toshiba Tecra M11-15W Part/Model No. : PTME0E-03J02SEP Problem is that i did not use this notebook for some time and forgot Bios password i set. Now i need to re-install windows (its corrupted) but i canno

  • DBUA ora-01034 and the glogin.sql

    I am writing this note in hopes of saving another poor soul the trouble of getting their knickers in a knot over upgrading their database using the dbua utility. In my case I was upgrading from 10.2.0.4 to 11.2.0.3, but I expect it doesn't matter wha