Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: ingvar_e on March 28, 2020, 05:42:32 PM



Title: wallet placement
Post by: ingvar_e on March 28, 2020, 05:42:32 PM
The bitcoin wallet default placement seems to be in the bitcoin data directory. Is it possible to specify a different placement?


Title: Re: wallet placement
Post by: NeuroticFish on March 28, 2020, 05:52:45 PM
You can use symlink and put the wallet wherever you want (you should make a backup though before attempting anything).
If you are in Windows:
1. Move wallet.dat to d:\whatever\wallet.dat (it doesn't have to be d:)
2. Open command prompt as administrator and go to the original folder of wallet.dat (default or custom data folder)
3. mklink wallet.dat d:\whatever\wallet.dat


Title: Re: wallet placement
Post by: achow101 on March 28, 2020, 06:01:20 PM
Use the -walletdir=<path> command line option or add it to your bitcoin.conf file (without the leading -)


Title: Re: wallet placement
Post by: ingvar_e on March 28, 2020, 06:16:52 PM
Brilliant. Thanks.