SharePoint stores all its contents in a separate SQL Server machine. So, each data is not lost. The main problem is
recovery. The recovery is based on two servers. The first one is running all your SharePoint services and the second
one is Dedicated SQL server. Most users run Microsoft Office SharePoint Server (MOSS) 2007, but most people also apply
Windows SharePoint Services (WSS).
Search on google :- filesrecoverytool