Windows Export Procedure
This section includes the steps to export the legacy H2 1.4.x database on a Windows machine to a migration data file.
| • | This is a one-time, offline operation. |
| • | The license server must be stopped before exporting. |
| • | The license server must be release 2026.06. |
Important:Run all commands in a Command Prompt as an Administrator.
The Windows export procedure includes the following steps:
| • | Step 1: Stop the License Server |
| • | Step 2: Export the Database |
| • | Step 3: Verify the Export |
Step 1: Stop the License Server
To stop the license server:
| 1. | Run the following commands: |
flexnetls.bat -stop
flexnetls.bat -status
| 2. | The service stops. The status command confirms it is no longer running, which is required for export. |
Note:In some environments, you may need to remove the existing Windows service before reinstalling or reconfiguring the license server. To delete the service, run:
sc delete <service name>
To export the database:
| 1. | Run the following command: |
flexnetls.bat -export-database
| 2. | A migration data file is created in the trusted storage directory: |
flexnetls-h2-1-4-x-migration-source.data
| 3. | The original database file is renamed as follows: |
flexnetls_licenses.mv.db
to
flexnetls_licenses.mv-bak.db
To verify the export:
| 1. | Run the following commands: |
dir "<trusted-storage-dir>\flexnetls-h2-1-4-x-migration-source.data"
dir "<trusted-storage-dir>\flexnetls_licenses.mv-bak.db"
If both files exist, the export was successful.
| 2. | You can now proceed to the import step: Windows Import Procedure. |