Bitcoin Forum
May 04, 2024, 04:23:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoind directory  (Read 958 times)
mikelebs (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile WWW
August 18, 2016, 06:33:37 PM
 #1

I have just downloaded bitcoin core onto Ubuntu 14.04 I've realised bitcoin file are stored at default directory /home/user/.bitcoin/ . Is this it possible to change this a my ubuntu partition doesn't have space to handle 80gb blockchain. I have another partition on my pc that can i want bitcoind to use as default dir to store all those files
1714839829
Hero Member
*
Offline Offline

Posts: 1714839829

View Profile Personal Message (Offline)

Ignore
1714839829
Reply with quote  #2

1714839829
Report to moderator
1714839829
Hero Member
*
Offline Offline

Posts: 1714839829

View Profile Personal Message (Offline)

Ignore
1714839829
Reply with quote  #2

1714839829
Report to moderator
1714839829
Hero Member
*
Offline Offline

Posts: 1714839829

View Profile Personal Message (Offline)

Ignore
1714839829
Reply with quote  #2

1714839829
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714839829
Hero Member
*
Offline Offline

Posts: 1714839829

View Profile Personal Message (Offline)

Ignore
1714839829
Reply with quote  #2

1714839829
Report to moderator
1714839829
Hero Member
*
Offline Offline

Posts: 1714839829

View Profile Personal Message (Offline)

Ignore
1714839829
Reply with quote  #2

1714839829
Report to moderator
1714839829
Hero Member
*
Offline Offline

Posts: 1714839829

View Profile Personal Message (Offline)

Ignore
1714839829
Reply with quote  #2

1714839829
Report to moderator
cr1776
Legendary
*
Offline Offline

Activity: 4032
Merit: 1299


View Profile
August 18, 2016, 06:50:23 PM
 #2

Take a look at this option:

-datadir=<dir>
in
https://en.bitcoin.it/wiki/Running_Bitcoin

LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16596


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
August 19, 2016, 09:41:23 PM
 #3

Open this file:
~/.config/Bitcoin/Bitcoin-Qt.conf
And edit this line:
strDataDir=/home/something/somethingelse

Don't forget to backup your wallet.dat, which will be in the same directory.

PremiumCodeX
Hero Member
*****
Offline Offline

Activity: 1204
Merit: 531


Metaverse 👾 Cyberweapons


View Profile
September 01, 2016, 09:14:23 AM
 #4

Here is a solution that you can execute in a GUI.
This method has been tested and it should work well, but I included a step to backup your current data folder for safety

1) Shut down your running Bitcoin Core
2) Open file browser
( 2.2 - Enable visibility for hidden folders: View -> Show Hidden Files )
3) Search the .bitcoin hidden folder ( it should be in Home by default )
4) Backup save: rename the .bitcoin folder to something else like savedbc
5) Copy the folder ( savedbc in this example ) to the desired location
6) Rename the copied folder in the desired location to 'Bitcoin'
7) Start your Bitcoin Core and at the window that shows up select to use CUSTOM data directory
8_) Select the new location for the custom data directory

Enjoy your new location!

[TUTORIAL] How to steal $350 000?
Best OS for recovering stolen BTCs.
Visit our FREE Bitcointalk thread.
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!