Skip to content

cometbft/cometbft-db-migrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CometBFT DB migration tool

Usage

Before running the migration tool, make sure to stop the CometBFT node and do a backup of ~/.cometbft/data folder.

go build
./db_migrate

This will migrate the goleveldb databases located at ~/.cometbft/data to pebbledb.

NOTE: Afterwards, please don't forget to change the db_backend configuration in the config.toml file to pebbledb.

Build flags

If the source database requires a build flag (cleveldb, boltdb, rocksdb, badgerdb), you can specify it as follows:

go build -tags cleveldb
./db_migrate

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages