This program is used for historical data migration, which migrates eKuiper data whose version number is less than 1.0.2 to 1.0.2 version. When the program is running, all file data named stores.data
in the dada
folder and its subdirectories will be migrated to the sqliteKV.db
database under the data directory. If the original data storage path is data/rule/store.data
, the migrated data will be located in the table named rule
under the path data/sqliteKV.db
.
Execute the go build -o tools/migration/migration tools/migration/main.go
command to generate the migration program.
The user needs to provide the path of eKuiper's data folder
./migration $(ekuiper/data)