Camunda 7 Volume mapping Docker on Plesk panel

Hello everyone!

I have a Docker container running Camunda BPM Platform 7.20 in Plesk Panel and I want to ensure data persistence for, so i can backup the data. The documentation says that * Docker containers in Plesk cannot be migrated or backed up. However, you can back up data used by containers (see Volume Mapping below), or download snapshots.

The container is running a . I’ve tried mapping the volumes for important directories like /camunda-h2-dbs, /conf, and /webapps to host directories, but I’ve encountered problems with data persistence. Specifically:

  1. When I stop the container and start it again, the data in the mapped volumes doesn’t seem to persist, and the directories appear empty.
  2. I’ve checked the permissions and ownership of the host directories, and they seem correct. However, the data doesn’t show up in these directories on the host.
  3. Interestingly, the /logs directory works as expected, and data persists correctly in that volume.

What would be the best method to have a backup of my Camunda engine?

Thank you for your assistance!

Hi, Welcome to the Forum!

First thing to keep in mind is that H2 (at least as configured in Camunda) is an in-memory DB… so it won’t persist. You need to connect Camunda7 to a RDBMS (eg. MySQL, PostgreSQL, MSSQL) to persist the process data. The RDBMS can be running in another container, and have its persistent volumes mapped out as per your documentation.

Than you for your repaly!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.