Reprocess postgres integration data

I’m going out on a limb in hopes that its possible.

how would I send some of the data in the postgres integration db back through the system. Ultimately, it needs to end up in Thingsboard which is its intended destination. We had a thingsboard outage in which Chirpstack captured the data in the integration db, but thats as far as it got. Thanks in advance!