Author

Topic: Trouble moving Bitcoin-qt wallet to external drive (Read 1052 times)

hero member
Activity: 533
Merit: 500
^Bitcoin Library of Congress.
You don't need to run:
Code:
"C:\Program Files\Bitcoin\bitcoin-qt.exe" -detachdb=1
this command option has a different purpose.

You need to change the shortcut target to
Code:
"C:\Program Files\Bitcoin\bitcoin-qt.exe" -datadir=E:\Bitcoin
instead of just running this once from the command line.

I bet you got the target directory wrong, I would look at E:\Bitcoin and were you put your bitcoin directory and make sure they match up correctly.

Wild guess here if nothing else works try running:
Code:
"C:\Program Files\Bitcoin\bitcoin-qt.exe" -datadir=E:\Bitcoin\
if this works don't forget to change the shortcut appropriately.
newbie
Activity: 13
Merit: 0
Hi all,

My bitcoin folder (in Appdata/roaming) is 13.5GB. It's too big to keep on my SSD, so I need to move it to an external drive.

To do this, I tried first detaching the database, so I ran this code in the command prompt (using Windows 7 x64):

Code:
"C:\Program Files\Bitcoin\bitcoin-qt.exe" -detachdb=1

(bitcoin wallet opens, then I close it)

From there I copied the Bitcoin folder and put it on my E drive, then ran this in the command prompt:

Code:
"C:\Program Files\Bitcoin\bitcoin-qt.exe" -datadir=E:\Bitcoin

When that opens my Bitcoin wallet, it says my bitcoins are unverified, and nothing really happens. I left bitcoin-qt open for 12 hours and it still says I'm 254 weeks behind / not synced / have X unverified coins. When I finally closed bitcoin-qt and re-opened it using the shortcut, it used my original database destination and the wallet was synced in a short period of time.

Any ideas what I'm doing wrong and how I can successfully move this bitcoin data to an external drive?
Jump to: