Recover database with only .LDF file

  • Yesterday we could manage to backup transaction log from only a .ldf file as:

    1-Created a new dummy database

    2-Stop SQL service

    3-Replace the dummy database's .ldf with our .ldf, (put to the same path with same name)

    4-Start SQL service

    5-Backup Log [DummyDB] to disk='...' with no_truncate

    This log backup saved us the last one day's data, because last full backup was overnight,

    It worked for us..

    Regards

  • Yes, but the point is you had a backup. If you had not had that database backup, you would not have been able to recover anything.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 2 posts - 16 through 16 (of 16 total)

You must be logged in to reply to this topic. Login to reply