7

I'm running Mist on Windows, and I want to change the datadir because I'm running out of space on the C drive, but I want it to be on the actual Ethereum blockchain.

Will I run into trouble if I change the datadir?

eth
  • 85,679
  • 53
  • 285
  • 406
Fernando Tiberti
  • 2,299
  • 1
  • 15
  • 28
  • No, you can simply change the datadir to whatever you like. Do you know how this is done in mist? – q9f Feb 04 '16 at 10:12
  • 1
    To change it in Mist, first run geth with the --datadir flag, and then launch Mist. (They both need to be running) – Fernando Tiberti Feb 04 '16 at 10:53
  • To set datadir in Mist: http://ethereum.stackexchange.com/questions/2551/how-to-set-a-different-datadir-in-mist – eth May 28 '16 at 10:13

2 Answers2

6

No, you are free to change the data directory. It's just a place to store the blockchain, it doesn't mean that you would be on a different chain.

Péter Szilágyi
  • 10,436
  • 39
  • 42
3

Changing the datadir, by using --datadir is all OK.

Running Geth on the testnet is a different flag, --testnet.

If you've been using Geth and have ether in your accounts, don't forget to backup all your keystore files before deleting the old datadir.

eth
  • 85,679
  • 53
  • 285
  • 406
  • why do you mention geth here if the question is referring to mist? – knocte May 28 '16 at 09:56
  • @knocte Here's the question on setting Mist's datadir http://ethereum.stackexchange.com/questions/2551/how-to-set-a-different-datadir-in-mist and it also ends up at Geth... – eth May 28 '16 at 10:11