Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: aarreeaa on February 11, 2016, 07:13:40 PM



Title: is it possibe to store wallet.dat seperatly from datadir (bitcoin core wallet)?
Post by: aarreeaa on February 11, 2016, 07:13:40 PM
I had installed bitcoin in c:\bitcoin however C disk has run out of space and I moved blocks to other HDD.

bitcoin core does not load wallet.dat that I have stored in c:\bitcoin
Instead it creates new wallet.dat file in datadir (E:\bitcoin)

Is it possible/how to get bitcoin core to load original wallet.dat ?

I really do not wish to just place wallet.dat in E:\bitcoin (unencripted HDD).


Title: Re: is it possibe to store wallet.dat seperatly from datadir (bitcoin core wallet)?
Post by: shorena on February 11, 2016, 10:46:19 PM
I had installed bitcoin in c:\bitcoin however C disk has run out of space and I moved blocks to other HDD.

bitcoin core does not load wallet.dat that I have stored in c:\bitcoin
Instead it creates new wallet.dat file in datadir (E:\bitcoin)

Is it possible/how to get bitcoin core to load original wallet.dat ?

I really do not wish to just place wallet.dat in E:\bitcoin (unencripted HDD).

No, the wallet.dat can have a different name with -wallet=mywallethasanicebutlongname.dat, but it must in the same directory as -datadir=here. Bitcoin core wallet files are encrypted (the private keys at least) with your password and offer decent brute force resistance. What exactly are you worried about?


Title: Re: is it possibe to store wallet.dat seperatly from datadir (bitcoin core wallet)?
Post by: unholycactus on February 12, 2016, 04:43:24 AM
I had installed bitcoin in c:\bitcoin however C disk has run out of space and I moved blocks to other HDD.

bitcoin core does not load wallet.dat that I have stored in c:\bitcoin
Instead it creates new wallet.dat file in datadir (E:\bitcoin)

Is it possible/how to get bitcoin core to load original wallet.dat ?

I really do not wish to just place wallet.dat in E:\bitcoin (unencripted HDD).

No, the wallet.dat can have a different name with -wallet=mywallethasanicebutlongname.dat, but it must in the same directory as -datadir=here. Bitcoin core wallet files are encrypted (the private keys at least) with your password and offer decent brute force resistance. What exactly are you worried about?

Like said above, if your wallet is password protected in Core, it is encrypted.
It doesn't do much more to encrypt it twice.


Title: Re: is it possibe to store wallet.dat seperatly from datadir (bitcoin core wallet)?
Post by: xqus on February 12, 2016, 07:08:38 AM
You could create an symlink to the e:\bitcoin\blocks in the original data dir.

http://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/


Title: Re: is it possibe to store wallet.dat seperatly from datadir (bitcoin core wallet)?
Post by: Pk880058 on February 12, 2016, 07:57:30 AM
I had installed bitcoin in c:\bitcoin however C disk has run out of space and I moved blocks to other HDD.

bitcoin core does not load wallet.dat that I have stored in c:\bitcoin
Instead it creates new wallet.dat file in datadir (E:\bitcoin)

Is it possible/how to get bitcoin core to load original wallet.dat ?

I really do not wish to just place wallet.dat in E:\bitcoin (unencripted HDD).

where ever you want to can store the wallet.dat file as a copy but the original have to be in the software directory so that when it searches it can find the old wallet.dat file if not it will create a new wallet.dat file with new details.


Title: Re: is it possibe to store wallet.dat seperatly from datadir (bitcoin core wallet)?
Post by: aarreeaa on February 12, 2016, 09:22:08 PM
You could create an symlink to the e:\bitcoin\blocks in the original data dir.
That works.

Thanks.