Hello,
If server crashed device uses backup server or stores data into internal memory if none of them are available.Data will be sent once connection is available again. If data was sent to server there will be no duplicate data in Teltonika device's internal memory. In your situation if database is not recoverable that means data is lost completely.
Regards.