Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a new computer, and my Bitcoin keys are on my old PC.

  • Is all of my private data in wallet.dat?
  • What is the procedure to make the transfer properly from my old PC to the new one?
share|improve this question

migrated from stackoverflow.com Apr 13 '11 at 0:58

This question came from our site for professional and enthusiast programmers.

4 Answers 4

up vote 5 down vote accepted

Your wallet.dat file records all of the important information. I don't know if the other files also contain confidential information, but two things are sure:

  1. Your private keys are only stored in wallet.dat. If you keep that file safe, and all of the other files get leaked out, nobody can steal your money (though they may find out other things about you).
  2. The wallet.dat file contains everything you need to recover all of your money, as well as your address book. If you delete all the other files, and just keep wallet.dat, you will still have all your money and all of the addresses in your address book.

The other files are mostly just the downloaded block chain history. If you lose those, you are in for a big download, but nothing too serious.

share|improve this answer

It looks like you do just have to backup/transfer the wallet.dat file.

From their FAQ:

How do I backup my wallet?

Your wallet.dat is stored in the directory ''%appdata%\Bitcoin'', which is typically:

Windows XP: C:\Documents and Settings\username\Application Data\Bitcoin

Windows Vista: C:\Users\username\AppData\Roaming\Bitcoin

Linux: ~/.bitcoin

You need to make a backup of the wallet after every transaction, as the old backup file will be partially or fully invalid. Wait at least a few seconds after your last transaction before making the backup.

If you want to encrypt your backup, you can use some program like TrueCrypt. An in-built tool for encrypting your wallet will be included in Bitcoin later on.

share|improve this answer
    
Fine! But What about my adresses ? Is it in addr.dat ? –  rooofl Apr 13 '11 at 12:53
    
First google result for 'bitcoin addr.dat' should explain that –  PriceChild Apr 13 '11 at 13:03
    
I moved wallet.dat and addr.dat, and I have this error EXCEPTION: 11DbException Db::open: Invalid argument bitcoin in AppInit() I know how to use Google. There is no answer to my questions. –  rooofl Apr 13 '11 at 13:11
    
The bitcoin wiki suggests deleting any blkindex.dat file to ensure things are rescanned. This forum topic suggests launching the client with -rescan which should do the same. Either way, transferring the wallet should be enough. If it isn't, you probably haven't installed it properly. Does it launch fine with wallet removed again? –  PriceChild Apr 13 '11 at 13:23
1  
Woop woop! :-) Glad to hear it. –  PriceChild Apr 13 '11 at 14:30

I had this problem on Mac OS 10.5.8.

  1. I didn't realize I had to download the "block chain" before starting - which is probably how I got the error in the first place.
  2. After getting the error, I needed to go to (User)/Library
  3. Rename/delete the Bitcoin folder.
  4. Once renamed/deleted, I could launch and run Bitcoin, no problem.
share|improve this answer

I made a post on how to create a secure bitcoin wallet to use as a savings account. Check it out at How to Create a Secure Bitcoin Wallet.

share|improve this answer
2  
Link-only answers are discouraged, and it would be best if you could edit your answer to include the main points from your blog post here. Users should be able to get the gist of the answer by reading the answer itself, and external links should primarily be for reference. –  nhinkle Jul 29 '11 at 6:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.