1

I recently installed Windows 8 on a separate HDD, copied over the BitCoin-qt directory, and the data directory. Including the wallet.dat.

But after running the -resync, my wallet shows up empty, and I have a new address.

Can someone please help me through transferring my wallet, I had 2 BTC in there.

*Note, I ran -resync in CMD and by appending it to the shortcut. I also have a relocated DataDIR

  • Using Bitcoin-qt 0.8.1 – level42 Aug 23 '13 at 13:59
  • Please be patient, I'm still kind of new to bitcoin. – level42 Aug 23 '13 at 14:03
1

There is no command line argument -resync, you might want -rescan instead.

However, if you're faced with a brand new wallet I don't think that's the problem. More likely the data directory that Bitcoin-qt looks for is in a different location than where you placed your old copy.

Does the shortcut you use include the -datadir argument to redirect to your desired location, and was wallet.dat copied to that location?

You should try searching your filesystem for wallet.dat, if you find the new created wallet you'll know where Bitcoin-qt looks for the data directory.

  • "H:\Software (x86)\BitCoin Wallet\Bitcoin\bitcoin-qt.exe" -rescan -datadir=H:\Software (x86)\BitCoin Wallet\Data – level42 Aug 23 '13 at 14:42
  • Sorry, rescan was the command I was running, above is a copy of my shortcut. And the files were copied from my old c: drive on the other HDD into H:\Software (x86)\BitCoin Wallet\Data – level42 Aug 23 '13 at 14:42
  • @level42: Since the name of your datadir contains spaces, don't you need to quote it? – Nate Eldredge Aug 23 '13 at 15:56
  • It seems to work without the quotes, I rebuild the data directory and it placed all the files in the correct location. – level42 Aug 23 '13 at 16:36
  • 1
    @level42: In Windows 7 this doesn't work without quotes, and I see no reason to believe in Windows 8 it would. Try to see if it's looking at "H:\Software" instead, and try changing the shortcut to read "H:\Software (x86)\BitCoin Wallet\Bitcoin\bitcoin-qt.exe" -rescan -datadir="H:\Software (x86)\BitCoin Wallet\Data" – Meni Rosenfeld Aug 25 '13 at 6:22
1

I'm unfamiliar with running bitcoin-qt on Windows. However, on OS X the wallet.dat file is not located in the application directory (in fact, for any multi-user OS that'd be a pretty dumb place to put it, unless everyone is expected to share the same wallet). There should be an "Application Data" or similary directory in your H:\Users\ directory that will contain your wallet.dat file. Also, unless it's been deleted, you can use Windows search feature to search the drive for the file in question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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