Data Migration
Data migration refers to the process of migrating data from one system or database to another system or database. Data migration is an important part of data management and can be used in scenarios such as data backup, data recovery, data integration, and data migration.
Here, data migration refers to migrating the specified lower-version data in LOICollectionA to the corresponding higher version of LOICollectionA.
WARNING
Before data migration, please make sure Python 3.10.0 or above is properly installed and the server is configured
For upgrading from version 1.4.6 to version 1.4.7
- Download the
migrate147.pyfile and place it in thepluginroot directory - After that, run
python migrate147.pyin the command line to complete the migration - After the migration is complete, the new
settings.dbfile will contain all the migrated data
For upgrading from version 1.6.1 to version 1.6.2
- Download the
migrate162.pyfile and place it in thepluginroot directory - After that, run
python migrate162.pyin the command line to complete the migration - After the migration is complete, the new
settings.dbfile will contain all the migrated data
For upgrading from version 1.6.5 to version 1.7.0
- Download the
migrate170.pyfile and place it in thepluginroot directory - After that, run
python migrate170.pyin the command line to complete the migration - After the migration is complete, all module data will be migrated
For upgrading from version 1.9.2 to version 1.10.0
- Download the
migrate1100.pyfile and place it in thepluginroot directory - After that, run
python migrate1100.pyin the command line to complete the migration - After the migration is complete, all module data will be migrated
For upgrading from version 1.14.0 to version 1.15.0
WARNING
1.15.0 no longer provides automatic migration scripts. The interface data of Menu and Shop needs to be migrated manually.
- Before upgrading, please back up
config.json,menu.json, andshop.jsonin theplugins/LOICollectionA/configdirectory. - After the upgrade, Menu and Shop no longer read
menu.json/shop.json. Please refer to the examples in Data Files to manually rewrite the old data asmenu.lcuiandshop.lcui, and place them in theplugins/LOICollectionA/configdirectory. - If you have customized
GuiPath, please confirm thatServerConfig.Plugins.Menu.GuiPathandServerConfig.Plugins.Shop.GuiPathinconfig.jsonpoint to the newly created lcui files (defaulting tomenu.lcuiandshop.lcuirespectively). - The data files of other modules (such as
notice.jsonandcdk.json) and database files are not affected; the interfaces of other modules are now loaded from the plugin's built-inguidirectory and do not need migration.