Losing SAP IDOCS when data base down

We recently upgraded db and it caused an issue.