Recovery database lock

To avoid locking the recovery database as this command runs, which causes messages to be un-deliverable, add the -U switch to the command:

hcidbdump -r -U username -L > recoverydb.txt

The username that you use is not that important but keeps it from using the default user name that the engine uses.