Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: yochdog on December 27, 2012, 02:53:42 PM



Title: Move my .dat file
Post by: yochdog on December 27, 2012, 02:53:42 PM
Hey folks.....could someone give me a quick tutorial on moving my .dat file to a network drive rather than my C:?

I am filling up fast on my SSD, and need to get it moved to greener pastures.

Any help is appreciated! 


Title: Re: Move my .dat file
Post by: Stephen Gornick on December 27, 2012, 04:25:12 PM
Hey folks.....could someone give me a quick tutorial on moving my .dat file to a network drive rather than my C:?

I am filling up fast on my SSD, and need to get it moved to greener pastures.

Any help is appreciated!  

There is a lot of I/O that occurs.  I don't know the performance using a remote share, but it can't be pretty.

Anyway, the steps are:

1.) Ensure you have a backup of your wallet.dat

2.) Run Bitcoin-Qt to detach the DB at shut down.
(Right click on Menu ->  options, then mark the checkbox Detach Databases at Shutdown.)
Then close Bitcoin-Qt.

Or, run from the command line:
  C:\> Bitcoin-Qt -detachdb=1

3.) Copy (or move) the entire Bitcoin directory to the new location
[Edit: If copied instead of moved, you can then delete, or rename if unsure, the old directory location.]

4.) Launch Bitcoin-Qt with the -datadir= specifying the new Bitcoin directory

e.g,  for use on drive Z:
   C:\> Bitcoin-Qt -datadir=Z:\Bitcoin

5.) Profit.



Title: Re: Move my .dat file
Post by: yochdog on December 27, 2012, 04:29:35 PM
Hey folks.....could someone give me a quick tutorial on moving my .dat file to a network drive rather than my C:?

I am filling up fast on my SSD, and need to get it moved to greener pastures.

Any help is appreciated!  

There is a lot of I/O that occurs.  I don't know the performance using a remote share, but it can't be pretty.

Anyway, the steps are:

1.) Ensure you have a backup of your wallet.dat

2.) Run Bitcoin-Qt to detach the DB at shut down.
(Right click on Menu ->  options, then mark the checkbox Detach Databases at Shutdown.)
Then close Bitcoin-Qt.

Or, run from the command line:
  C:\> Bitcoin-Qt -detachdb=1

3.) Copy (or move) the entire Bitcoin directory to the new location
[Edit: If copied instead of moved, you can then delete, or rename if unsure, the old directory location.]

4.) Launch Bitcoin-Qt with the -datadir= specifying the new Bitcoin directory

e.g,  for use on drive Z:
   C:\> Bitcoin-Qt -datadir=Z:\Bitcoin

5.) Profit.



I am using a gigabit network to access the shared drive.......that should suffice, no? 


Title: Re: Move my .dat file
Post by: BitcoinSuite on January 30, 2013, 06:02:31 PM


I am using a gigabit network to access the shared drive.......that should suffice, no? 
[/quote]
That's plenty. You can always use electrum if you don't want the full client.