Recover delete protocol

Hi,

Does anyone know how I can recover a specific protocol (including old versions) that has been deleted by a user from their own users tab or other tabs such as protocols or components.

We take regular XMLDB backups, but I don’t want to re import the entire XMLDB (as it will revert other changes to other protocols made since the backup), I just want to recover a specific protocol and previous version history.

Looking in the XMLDB backup zip file, it looks like a zipped copy of the /xmlbd folder. So in theory I think it should be possible to copy across the .xml.gz files of the deleted protocol and its previous versions to /xmlbd/…/
But when I try this the protocol does not re appear in the client. I believe I remember something about a XMLDB management protocol that runs in the background on a scheduled task to update the state.xml file. 

Do I need to run something in DButils on the command line for the “recovered” protocol to be picked up?  Or am I on the wrong track with this?

This would also be useful for when a user accidentally keeps the latest version and deletes all previous versions (rather than deleting the latest version to revert to an older one).

Any suggestions appreciated.

Thanks

Joe