Author

Topic: Crap, I reformatted, did I lose my BTC? (Read 4709 times)

donator
Activity: 826
Merit: 1060
February 09, 2011, 02:14:02 PM
#15
Do you know any of your Bitcoin sending or receiving addresses?

If you don't know any of your addresses, you could search for all the addresses in the block chain.
vip
Activity: 1386
Merit: 1140
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
February 09, 2011, 01:11:27 PM
#14
Perhaps you can initiate a sector-by-sector search of your hard drive for strings that would occur in wallet.dat.  You could use a utility like WinHex for this.  (use Tools - Open Disk - choose the physical disk by disk NUMBER, not by disk LETTER)

As others have said, you should not be BOOTING from this disk, otherwise, doing so rapidly lessens the likelihood of recovery as more sectors are overwritten.

Even if you cannot recover the entire file, if just the private keys themselves can be hand-recovered, you may get back your BTC.  The private keys themselves are only a few dozen bytes and can probably be found in the same sector, or adjacent sectors, to the readable Bitcoin address.

Do you know any of your Bitcoin sending or receiving addresses?  Those appear in the wallet file as strings you could search for.

If I search my wallet.dat, in addition to the addresses, I also find the strings "blockindex" (repeatedly), "defaultkey", and "addrIncoming".  Of course, these strings will probably also occur in the client, so ignore hits that contain lots of other Bitcoin programming-related text.

if you could find disk sectors containing these strings, having a trusted person inspect them plus all the surrounding sectors could probably yield the coins.
legendary
Activity: 1288
Merit: 1080
February 09, 2011, 11:23:28 AM
#13
I'm not complaining from a personal standpoint, it was my stupidity, and while I lost 95btc, many could have lost a lot more. I guess that's my point, if Bitcoin is to survive as a real userfriendly service..... online backup is going to have to be at the top of the list.

You can't have some vendor who knows little about Bitcoin but graciously starts to accept it, and then loses his earnings in a mere system crash.

I don't know what more we could do.  I think the bitcoin community makes it quite clear that you have to make backups of your wallet.  Maybe we could had some reminders in the GUI, but I think it's best to assume the user is responsible from what he does or does not.
sr. member
Activity: 302
Merit: 250
February 09, 2011, 02:52:36 AM
#12
I'm not complaining from a personal standpoint, it was my stupidity, and while I lost 95btc, many could have lost a lot more. I guess that's my point, if Bitcoin is to survive as a real userfriendly service..... online backup is going to have to be at the top of the list.

You can't have some vendor who knows little about Bitcoin but graciously starts to accept it, and then loses his earnings in a mere system crash.
legendary
Activity: 2576
Merit: 1186
February 08, 2011, 11:40:29 PM
#11
If it was a lot, and this all seems like a lot of work, you might offer a bounty for someone to do it for you. Be sure you trust them.
sr. member
Activity: 294
Merit: 252
February 08, 2011, 11:10:02 PM
#10
You could also use something like GPG for encrypting the file. I use that + Dropbox + a helper application I'm working on that manages encryption, decryption, and backup.
sr. member
Activity: 294
Merit: 273
February 08, 2011, 09:24:46 PM
#9
I am training people to use a TrueCrypt file backed up in DropBox to combine both loss protection and theft protection in a fairly easy to use package.  Still leaves the risk of theft from the running client, but there's not really any way around that unless someone develops an integrated TrueCrypt/Bitcoin client that only prompts for Truecrypt password when you need to transfer money out.  Which would be a pretty sweet deal for mining since you can deposit mined coins in without needing the wallet.dat to be decrypted with the password, so you could securely leave headless machines lying around.  As gruesome as that sounds.

sincerely,
eMansipater

Full disclosure: DropBox link is a referral link.  It gives both me and any new users extra free space when they sign up.
legendary
Activity: 2506
Merit: 1010
February 08, 2011, 08:14:52 PM
#8
Use something like Dropbox next time. Undecided
That might just exchange one risk (risk of loss) for another (risk of theft).  If you synch dropbox between your desktop and your laptop or other device, backing up your wallet to dropbox actually might also mean you are propogating your wallet onto your laptop.
  Here's more on safe backup as well: https://bitcointalksearch.org/topic/m.29488
adv
full member
Activity: 168
Merit: 100
February 08, 2011, 07:18:36 PM
#7
If it is damaged, then it might be possible to extract the private keys from it.
Exist some ready-made tools for this?
administrator
Activity: 5222
Merit: 13032
February 08, 2011, 03:30:47 PM
#6
GetDataBack has a good reputation for recovering data from formatted drives. You must run it on some other computer with the target drive attached. You should never attempt recovery by running an OS on the target drive.
LZ
legendary
Activity: 1722
Merit: 1072
P2P Cryptocurrency
February 08, 2011, 03:03:30 PM
#5
Use something like Dropbox next time. Undecided
sr. member
Activity: 322
Merit: 250
Do The Evolution
February 08, 2011, 02:56:02 PM
#4
Search for recuva or a forensics distro. Booting from a CD or with other computer do a "quick" recovery and search for wallet.dat If it does not appear do a "deep" recovery, -which basically reads bit by bit your hard drive and scans for files such as plaintext, avi, etc-, and search for it. If it is damaged there is still a chance you can recover the keys else you are out of luck.
legendary
Activity: 1652
Merit: 2301
Chief Scientist
February 08, 2011, 01:23:52 PM
#3
I reformatted... I backed up my bitcoin directory... but when I restored it on the fresh OS my wallet was not intact...

Are you missing your wallet.dat file or is it damaged?

If it is missing, then grondilu's advice is the best anybody can do.
If it is damaged, then it might be possible to extract the private keys from it.

This type of thing is why off-site backups are a really good idea...
legendary
Activity: 1288
Merit: 1080
February 08, 2011, 12:48:24 PM
#2
Switch this computer off right now (hard switch off: you want to avoid any writting on the disk) and use an other computer to search for "recover formated data" on the web.
sr. member
Activity: 302
Merit: 250
February 08, 2011, 12:42:22 PM
#1
I reformatted... I backed up my bitcoin directory... but when I restored it on the fresh OS my wallet was not intact...

I forgot to backup the appsettings/roaming/bitcoin directory.

I made a note of my wallet hash ID prior. Am I screwed?
Jump to: