Can you please help to recovering a database with log file alone upto latest transactions?

Anu Grah 21 Reputation points
2020-08-18T14:37:51.233+00:00

I have lost the drive which hosted data file and DB is recovery so I wanted to recover the data till the last point? is that possible with log file alone ?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,187 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sreekanth Madambath 86 Reputation points
    2020-08-18T14:39:35.977+00:00

    Yes , do you still have DB on you SQL instance showing Recovery Pending ?


1 additional answer

Sort by: Most helpful
  1. Shashank Singh 6,246 Reputation points
    2020-08-18T18:36:29.95+00:00

    The answer is you CANNOT just alone recover a database using log file. I am not sure if you read the blog shared by @@Sreekanth Madambath it does a proper restore of a database using tail log backup to get you database in recovery. So the point is unless you have a good backup, just using log file will not give you database back. You need to restore the database to get the data back

    0 comments No comments