Bitcoin Forum
May 14, 2024, 04:28:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Changing Data directory location on Bitcoin-qt?  (Read 5564 times)
Infinity1 (OP)
Member
**
Offline Offline

Activity: 80
Merit: 10


I'm OG


View Profile
November 23, 2012, 04:33:34 AM
 #1

I'm currently on a dual-boot setup and have my blockchain and wallet in my Windows XP partition and want to use Bitcoin on my Windows 7 partition.
The problem is that if I try to open Bitcoin on my Windows 7 partition I'm forced to re-download the blockchain and obtain a new wallet.

Is there anyway to change the data directory location so that Bitcoin clients will share the same location? I can't seem to find the option in Bitcoin-qt and hope they implement this in the next version.
niko
Hero Member
*****
Offline Offline

Activity: 756
Merit: 501


There is more to Bitcoin than bitcoins.


View Profile
November 23, 2012, 05:31:04 AM
 #2

Yes, add "-datadir=<dir>" to your target.
If you are moving databases to another directory, you'll want to tick the "detach databases at shutdown" option in bitcoin-qt.

They're there, in their room.
Your mining rig is on fire, yet you're very calm.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!