Pages:
Author

Topic: Corrupted wallet.dat - any way of repairing? (Read 7072 times)

legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
December 08, 2017, 12:43:19 AM
#24
This thread is too old and must be closed.
But since I'm seeing that they didn't got an anwer, I'll say it.

Do not import a corrupted file cause the problem might be the file itself.
The original wallet.dat must be still in the drive where it become corrupted.

Corrupted files inside external hdd or SSD/flashdrives can be recovered as long as the problem isn't the hardware itself.

Most HDDs will produce bad sectors randomly if fed by incorrect voltages which most external enclosures had.
To recover the wallet.dat from corruption, connect it internally (remove the HDD from the enclosure), if you use Sata Power make sure the orange cable is there (there are too many myths that it's not req by the hdd). This way it's getting enough power and run the way it should be.

Once tye HDD is working (Hardware) perfectly, it's time to recover your file.
If it is SDD/flashdrive, skip the 1st part.
Google for the correct forums for them.
-> if it's just a corrupted wallet.dat, a simple DISK CHECK will fix it.
-> if it got deleted, you can use recovery tools depending on your hdd.
-> Things will get complicated if the disk's Mbr was corrupted.


We don't want this to become a computer technical discussion so, there you go.
legendary
Activity: 1624
Merit: 2481
December 06, 2017, 04:20:44 PM
#23
I don't know if it worth to revive this topic, but let's give it a chance.

Next time just start a new topic.

When I try to work with the reddcointools, which are basicly the same as the bitcointools... I always end up getting a syntaxError : unexpected character after line continuation character.
This is very new to me and I would be happy if someone could give me some direction in it.

As far as i am concerned, bitcointools is for bitcoin and reddcointools is for reddcoin ?
We need a few more information about how this error occured. Did you just run a tool? Or did you write a script?
If you wrote a script by yourself, then as the error message is stating: There is an unexpected character (where it shouln't be).
If you could post the snippet of your code where the error appears, it would be much easier to help you.
If you just ran a (downloaded) script and you get this error, then the tool is 'broken'. But still.. a code snippet would help to find the mistake.
full member
Activity: 350
Merit: 100
It's all about the cryptocoins
December 06, 2017, 10:30:55 AM
#22
I don't know if it worth to revive this topic, but let's give it a chance.
When I try to work with the reddcointools, which are basicly the same as the bitcointools... I always end up getting a syntaxError : unexpected character after line continuation character.
This is very new to me and I would be happy if someone could give me some direction in it.
newbie
Activity: 11
Merit: 1
Sent you guys a PM.
kjj
legendary
Activity: 1302
Merit: 1026
I wouldn't mind taking a look too.
hero member
Activity: 700
Merit: 500
Was bitcoin still running when you tried the dump?
No it wasn't, I'm not that stupid Smiley 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
newbie
Activity: 11
Merit: 1
Was bitcoin still running when you tried the dump?
No it wasn't, I'm not that stupid Smiley I did this on a virtual computer running Ubuntu Live CD.
kjj
legendary
Activity: 1302
Merit: 1026
Was bitcoin still running when you tried the dump?
hero member
Activity: 700
Merit: 500
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

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 You've got nothing to lose Tongue
newbie
Activity: 11
Merit: 1
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
hero member
Activity: 700
Merit: 500
You know he could just keep it himself, right?

Yeah, well, I would still end up with nothing. Smiley
I would really like some help with the repairing, though :/

I'll help, pm me.
newbie
Activity: 11
Merit: 1
You know he could just keep it himself, right?

Yeah, well, I would still end up with nothing. Smiley
I would really like some help with the repairing, though :/
kjj
legendary
Activity: 1302
Merit: 1026
You know he could just keep it himself, right?
newbie
Activity: 11
Merit: 1
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.
newbie
Activity: 20
Merit: 0
How many bitcoins did it contain?
How many bitcoins would you offer for me to repair it? (only if succesfull)
legendary
Activity: 2058
Merit: 1431
Code:
# 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
that's for unix, i believe.
newbie
Activity: 11
Merit: 1
Code:
# 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
sr. member
Activity: 406
Merit: 251
Code:
# 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.


newbie
Activity: 11
Merit: 1
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!
hero member
Activity: 755
Merit: 515
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.
Pages:
Jump to: