Restoring database in chat app

Hi there!

I recently ran a database workflow that had a backend “when data changes” trigger that removed a handful of entries in a chat app I am building.

What is the best way to 1) recover the deleted data and ALSO 2) merge that with the current data? Or the chats that have been sent AFTER the point I am going to restore to?

Appreciate the help!