frotto (OP)
Newbie
Offline
Activity: 11
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 15, 2011, 09:37:58 PM |
|
Hi everybody, my SSD crashed today, and of course, I hadn't made a backup of my wallet.dat file. I managed to restore the file, but when I launch bitcoin, it gives me a '11DbException' error message and then closes itself. Is there any way of restoring the file? I do have the address, just can not access it. ![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
|
|
|
|
trentzb
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 15, 2011, 09:58:32 PM |
|
Ouch! Yea having the address won't help much. There is bitcointools and IIRC there was another wallet dump/export utility mentioned somewhere on the forums here. Play around with bitcointools and see if you can get anything out of your wallet.dat.
|
|
|
|
theymos
Administrator
Legendary
Offline
Activity: 5306
Merit: 13215
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 15, 2011, 10:38:55 PM |
|
Did you delete all other files in the data directory before restoring wallet.dat? Maybe those files are corrupted.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
frotto (OP)
Newbie
Offline
Activity: 11
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 16, 2011, 05:51:39 AM |
|
Did you delete all other files in the data directory before restoring wallet.dat? Maybe those files are corrupted.
Yes, I did try that, didn't help. ![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
|
|
|
|
Matt Corallo
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 16, 2011, 07:44:33 AM |
|
Try running dbdump.py --wallet --datadir=/path/to/corrupt/wallet/ from bitcointools, if you get a reasonable looking data, you might be ok, otherwise well you might try some more advanced BDB recovery tools.
|
|
|
|
frotto (OP)
Newbie
Offline
Activity: 11
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 16, 2011, 12:37:26 PM |
|
Try running dbdump.py --wallet --datadir=/path/to/corrupt/wallet/ from bitcointools, if you get a reasonable looking data, you might be ok, otherwise well you might try some more advanced BDB recovery tools.
Could you please give me a step by step guide how to do this? I'm useless when it comes to python. Thanks!
|
|
|
|
trentzb
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 16, 2011, 04:10:42 PM |
|
# git clone https://github.com/gavinandresen/bitcointools.git # cd bitcointools # ./dbdump.py --wallet --datadir=/point/to/wallet/dir
Use ./dbdump.py --help for other options.
|
|
|
|
frotto (OP)
Newbie
Offline
Activity: 11
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 30, 2011, 07:17:24 PM |
|
# git clone https://github.com/gavinandresen/bitcointools.git # cd bitcointools # ./dbdump.py --wallet --datadir=/point/to/wallet/dir
Use ./dbdump.py --help for other options. I still wasn't able to figure out what to do with these commands. I tried putting them in the python command line, but it did absolutely nothing. Again, I haven't ever worked with python, so any help would be appreciated! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
grue
Legendary
Offline
Activity: 2058
Merit: 1434
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 30, 2011, 09:36:55 PM |
|
# git clone https://github.com/gavinandresen/bitcointools.git # cd bitcointools # ./dbdump.py --wallet --datadir=/point/to/wallet/dir
Use ./dbdump.py --help for other options. I still wasn't able to figure out what to do with these commands. I tried putting them in the python command line, but it did absolutely nothing. Again, I haven't ever worked with python, so any help would be appreciated! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) that's for unix, i believe.
|
|
|
|
publickeyhash
Newbie
Offline
Activity: 20
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 30, 2011, 09:41:29 PM |
|
How many bitcoins did it contain? How many bitcoins would you offer for me to repair it? (only if succesfull)
|
|
|
|
frotto (OP)
Newbie
Offline
Activity: 11
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 31, 2011, 02:06:39 PM |
|
How many bitcoins did it contain? How many bitcoins would you offer for me to repair it? (only if succesfull)
I'd be willing to send you some bitcoins (3-5) if you help me repair it.
|
|
|
|
kjj
Legendary
Offline
Activity: 1302
Merit: 1026
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 31, 2011, 02:17:54 PM |
|
You know he could just keep it himself, right?
|
17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8 I routinely ignore posters with paid advertising in their sigs. You should too.
|
|
|
frotto (OP)
Newbie
Offline
Activity: 11
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 31, 2011, 08:07:28 PM |
|
You know he could just keep it himself, right?
Yeah, well, I would still end up with nothing. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I would really like some help with the repairing, though :/
|
|
|
|
SomeoneWeird
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 01, 2011, 12:16:07 PM |
|
You know he could just keep it himself, right?
Yeah, well, I would still end up with nothing. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I would really like some help with the repairing, though :/ I'll help, pm me.
|
|
|
|
frotto (OP)
Newbie
Offline
Activity: 11
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 07, 2011, 01:59:15 PM |
|
I was able to get it working and ran it, but the program (dbdump.py) just says "Couldn't open wallet.dat/main, try quitting Bitcoin and running this again." Even tried fixwallet.py, but same result. I guess I just lost 20 BTC. ![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
|
|
|
|
SomeoneWeird
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 07, 2011, 02:01:46 PM |
|
I was able to get it working and ran it, but the program (dbdump.py) just says "Couldn't open wallet.dat/main, try quitting Bitcoin and running this again." Even tried fixwallet.py, but same result. I guess I just lost 20 BTC. ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) If your giving up on it, PM me with your wallet file and i'll try and fix it, if I can i'll send most of it back to you ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) You've got nothing to lose ![Tongue](https://bitcointalk.org/Smileys/default/tongue.gif)
|
|
|
|
kjj
Legendary
Offline
Activity: 1302
Merit: 1026
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 07, 2011, 02:02:14 PM |
|
Was bitcoin still running when you tried the dump?
|
17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8 I routinely ignore posters with paid advertising in their sigs. You should too.
|
|
|
frotto (OP)
Newbie
Offline
Activity: 11
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 07, 2011, 02:07:27 PM |
|
Was bitcoin still running when you tried the dump?
No it wasn't, I'm not that stupid ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I did this on a virtual computer running Ubuntu Live CD.
|
|
|
|
SomeoneWeird
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 07, 2011, 02:13:59 PM |
|
Was bitcoin still running when you tried the dump?
No it wasn't, I'm not that stupid ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I did this on a virtual computer running Ubuntu Live CD. I have a few hidden tricks up my sleeve for repairing corrupted wallets, but they're time consuming, so if you want I can try ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
kjj
Legendary
Offline
Activity: 1302
Merit: 1026
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 07, 2011, 02:23:24 PM |
|
I wouldn't mind taking a look too.
|
17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8 I routinely ignore posters with paid advertising in their sigs. You should too.
|
|
|
|