Install and quick start
Install the Data Migrator and run your first data migration.
Prerequisites
- Java 21+
- Running Camunda 8 (self-managed, or SaaS for runtime migration only)
- Camunda 7 has been stopped
- Access to Camunda 7 database
- Models migrated and deployed to C8
Installation
- Download the latest release from the GitHub releases page:
- Extract the archive to your preferred directory.
- Navigate to the extracted directory.
Quick start
The Data Migrator supports three main modes of operation:
- Runtime migration: Migrate running process instances
- History migration: Copy audit trail data
- Identity migration: Copy authorizations and tenants
Below is a quick start guide to get you started. For detailed information on each mode, see their respective documentation pages.
Quick start steps
-
Make sure Camunda 8 is up and running, all process models to migrate are deployed, and Camunda 7 has been stopped.
For runtime migration, every process model requires:
- A blank start event (you must add one if the process model doesn't have one already).
- An execution listener at the end of your blank start event with the job type
migrator. You have to add this manually or let the Diagram Converter add it.
<bpmn:startEvent id="StartEvent_1">
<bpmn:extensionElements>
<zeebe:executionListeners>
<zeebe:executionListener eventType="end" type="migrator" />
</zeebe:executionListeners>
</bpmn:extensionElements>
</bpmn:startEvent>noteFor automatic resource deployment, you can also drop your BPMN files into the
configuration/resourcesfolder. -
Drop your JDBC driver into the
configuration/userlibfolder (for example,postgresql-$VERSION.jarfor PostgreSQL). -
Prepare your configuration file (
configuration/application.yml):camunda.client:
mode: self-managed
grpc-address: http://localhost:26500
rest-address: http://localhost:8080
camunda.migrator:
auto-ddl: true # Automatically create migration tracking schema
camunda.migrator.c7.data-source:
jdbc-url: jdbc:postgresql://localhost:5432/camunda7
username: your-username
password: your-password
camunda.migrator.c8.data-source:
jdbc-url: jdbc:postgresql://localhost:5432/camunda8
username: your-username
password: your-password -
Run the Data Migrator:
- Mac OS + Linux
- Windows
# Runtime migration (default mode)
./start.sh --runtime
# History migration
./start.sh --history
# Identity migration
./start.sh --identity
# View all available options
./start.sh --help# Runtime migration (default mode)
start.bat --runtime
# History migration
start.bat --history
# Identity migration
start.bat --identity
# View all available options
start.bat --help -
Monitor the migration progress in the console output and log files.