How to move the Chia DB to another folder
While the Chia blockchain data is still relatively small in this early stage, it will continue to grow. At some point, you may want to move the files to another folder. In this guide, you will learn how to change the location of your Chia blockchain data. It is also possible to move the wallet data in the same way.
- Make sure you stop all Chia processes first
- Locate the data that you want to move. First, you need to navigate to the path where the blockchain and wallet data are stored. By default, this is:
- Copy the folders
walletand paste them in the location you want to store them, for example
- Then, go back to your Chia folder
C:\Users\<YOURUSERNAME>\.chia\mainnet\and navigate to the “config” folder. Here you will find the config.yaml file. Open it with your favourite text editor and change the following entries:
Changes are made using our example path
D:\Chia_Blockchain, but of course, you can replace this with whichever path you want to store your DB files. It is recommended that you store the DB and wallet on an SSD.
|Blockchain||full_node: database_path:|| ||
|Blockchain peer table||full_node: peer_db_path:|| ||
|Wallet peer table||wallet: wallet_peers_path:|| ||
“Please do at your own risk” -Fellow Farmer