What is point of Recovery?

  • What is point of recovery? If i am using full recovery model, if my database corrupted after my last transaction dump what is the immediate step should i follow?

    thanks in advance

    vyas

  • Backup the tail of the transaction log (backup log to file="..." with NORECOVERY, NO_TRUNCATE)

    Restore your full DB backup with no recovery.

    Restore your Diff backup with no recovery (if applicable)

    Restore all your tran logs backups, in sequence, all with no recovery

    Restore the backup you made of the tail of the log, with recovery

    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
  • Use STOPAT clause in the RESTORE statement to restore to a point in time.

  • Recovery is the process of rolling forward and rolling back when a database starts. It is different from the recovery model. The advice above (both) is what you would follow for RESTORE, not recovery.

  • Thanks Steve, for the information about recovery.

Viewing 5 posts - 1 through 5 (of 5 total)

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