How to re-create deleted SQL databases

Client is on 9.05.702A, and they somehow, somewhere in the deep dark past, deleted the EpicorTest905 and EpicorTrain905 databases from SQL. They currently run their TRAIN environment on a database named “Pilot905b4”, but there are issues (such as the Admin Tools and Schema Change don’t work, and some customizations act really funny). Is there a documented process for a way to re-create and CORRECTLY re-link an SQL database back to the Progress layer?