migrate-database
Migrate the database to a LevelDB2 database.
note
As of v21.5.0, new Teku installations use a LevelDB2 database. Previous Teku versions use RocksDB which continue to be supported.
caution
Before running the database migration, you must shut down the local Teku instance and confirm the process has fully exited and won't be restarted.
config-file
- Syntax
- Example
- Environment variable
teku migrate-database --config-file=<FILE>
teku migrate-database --config-file=/home/me/me_node/config.yaml
TEKU_CONFIG_FILE=/home/me/me_node/config.yaml
Path to the YAML configuration file. The default is none
.