-
Notifications
You must be signed in to change notification settings - Fork 20.5k
Backup & restore
Taylor Gerring edited this page May 17, 2015
·
17 revisions
Default data storage locations:
- Mac:
~/Library/Ethereum
- Linux:
~/.ethereum
- Windows:
~/AppData/Roaming/Ethereum"
Accounts are stored in the keystore
subdirectory. The contents of this directories should be transportable between platforms, but is specific to the Go implementation.
To configure the location of Geth's files, the --datadir
parameter can be specified. See CLI Options for more details.
Note: The mining DAG is stored at ~/.ethash
(Mac/Linux) or ~/AppData/Ethash
(Windows) so that it can be reused by all clients. You can store this in a different location by using a symbolic link.
Export the blockchain in binary format with:
geth export <filename>
Import binary-format blockchain exports with:
geth import <filename>
See https://github.com/ethereum/wiki/wiki/Blockchain-import-export for more info