How to transfer your Bitcoin database to a new hard drive

2 replies 232 views
Posts: 2 · Reputation: 2
#1Sep 15, 2018, 06:36 PM
Hey everyone, My hard drive is almost full. I think I know how to move my Bitcoin database to a new drive, but how do I make Bitcoin Core start writing new blocks to the new location? Any tips appreciated. Thanks!
4 Reply Quote Share
0xChadNewbie
Posts: 186 · Reputation: 3
#2Sep 15, 2018, 10:17 PM
It really depends on how you set up your data folder originally and whether you're using the graphical interface or the command line. If you're using the GUI, just launch bitcoin-qt with the choosedatadir argument. This way, you’ll select the new folder where the 'Bitcoin' data was copied. Command line options can differ based on your OS, so if you provide those details, I can help you better. For the daemon, it’s just about updating the 'datadir' setting to point to the new location. Also, I recommend copying the data directory instead of moving it, as this gives you a backup if something goes wrong with the new one.
2 Reply Quote Share
Posts: 2 · Reputation: 2
#3Sep 18, 2018, 09:34 AM
Thanks a lot for the info!
4 Reply Quote Share

Related topics