Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: manuel on October 20, 2013, 01:37:26 PM



Title: Where does bitcoin-qt store the block chain?
Post by: manuel on October 20, 2013, 01:37:26 PM
Can I copy the file(s) from one machine to another so I don't have to re download the whole blockchain for hours and hours?

Thanks.


Title: Re: Where does bitcoin-qt store the block chain?
Post by: Seccour on October 20, 2013, 01:58:09 PM
I think yes.

So test, it's cost you nothing ;)


Title: Re: Where does bitcoin-qt store the block chain?
Post by: falcoiii on October 20, 2013, 02:03:03 PM
Can I copy the file(s) from one machine to another so I don't have to re download the whole blockchain for hours and hours?

Thanks.

My copy is in C:\Users\{myname}\AppData\Roaming\Bitcoin

I would shut down the client before copying.


Title: Re: Where does bitcoin-qt store the block chain?
Post by: BookLover on October 20, 2013, 02:10:21 PM
Answer to title question: Depends on you OS.  It's on the Bitcoin wiki https://en.bitcoin.it/wiki/Data_directory. :)

Answer to thread question: Yes it is possible but you may need to move more than just the blockchain files.  They changed how it works with new blockchain format so I'm not sure what steps to take to ensure a successful transfer.  However, I do know it is possible and not to complicated.

Edit: Wow this forum is getting active two people posted while I was writing my answer.


Title: Re: Where does bitcoin-qt store the block chain?
Post by: manuel on October 20, 2013, 03:02:22 PM
Answer to thread question: Yes it is possible but you may need to move more than just the blockchain files.  They changed how it works with new blockchain format so I'm not sure what steps to take to ensure a successful transfer.  However, I do know it is possible and not to complicated.

Anybody know what I need to move in total?  I'm trying to copy from PC to Mac because nobody seems to be able to explain why the Mac client practically sets my CPU on fire :(

https://bitcointalk.org/index.php?topic=314706.0


Title: Re: Where does bitcoin-qt store the block chain?
Post by: dserrano5 on October 20, 2013, 03:40:25 PM
Copy at least the blocks and database directories.


Title: Re: Where does bitcoin-qt store the block chain?
Post by: grue on October 20, 2013, 04:02:56 PM
if you're moving cross platform, consider this: https://bitcointalk.org/index.php?topic=145386.0