Instance data import and export

I’m currently running a Camunda BPM engine, 7.11 in a cloud-based application, and I want to export and fragment the data contained in the database to edge clusters, only exporting certain tasks with their states to an engine running on the edge cluster.
I’ve been able to create a nice feed to export the data to a stream and import the process definitions at the remote site, but how do I import instance states into the remote site?