Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Queenvio on January 04, 2015, 06:40:14 PM



Title: Bitcoin -qt move Blockchain
Post by: Queenvio on January 04, 2015, 06:40:14 PM
Hey there.
Today I moved my hole \AppData\Roaming\Bitcoin folder to my NAS Server. That I dont need to download the hole Blockchain if e.g. the system craches.
I startet the Bitcoin Core with     -datadir=\\[...]\Bitcoin\
After thet, he want to reload the Blockchain, I Quit it and start it with -reindex
But this would take days.

Isnt there any other way?
And is it possible to have a client on the PC and on the MAC which use this NAS-folder togehter? Of course not at the same time.


Greetings


Title: Re: Bitcoin -qt move Blockchain
Post by: chanz on January 04, 2015, 07:04:36 PM
I don't think reindex should take that much time i mean it's exactly like downloading the block chain again from peers,
except the blocks already on disk are used. So out of luck about that.

Regarding the change direction you start the bitcoin client/server with this - just add
Code:
-datadir=<new_data_dir_path>

Regarding mac you should look at Data & directory Mac. (https://en.bitcoin.it/wiki/Data_directory#Mac)


Title: Re: Bitcoin -qt move Blockchain
Post by: Queenvio on January 04, 2015, 08:10:16 PM
I also wonder why I need to reindex it.
I changed nothing it's a 1:1 copy


Title: Re: Bitcoin -qt move Blockchain
Post by: BookLover on January 06, 2015, 04:04:04 PM
You shouldn't have to reindex it.  It should be possible to simply copy over the \Bitcoin folder and add the -datadir= command to your shortcut.