At a UNIX shell prompt type hcidbdump to see the args you can use with hcidbdump.
So one example might look like this assuming an inbound thread named in_1 that sends to a couple of outbound threads called out_1 and out_2.
First stop the inbound thread so you have no new messages coming in.
In this example, I will dump message in the recovery database to a file (myFile) going to be delivered to outbound thread out_2, while keeping them in chronological order based on inbound arrival
hcidbdump -r -d out_2 -O i myFile
Then I look at what is in the myFile to make sure I’m comfortable and then recall the previous command and add -D on the end to save the messages again plus delete them from the recovery database.
hcidbdump -r -d out_2 -O i myFile -D
Now you have a record of what was deleted from the recovery database saved in myFile.
The GUI/IDE might also have some of this function but I started life on the backend using hcidbdump and never ended up using the front end for database manipulation.
Russ Ross
RussRoss318@gmail.com