restore from transaction logs point in time

  • I have restored my live database into my test dbase with norecovery so that i can get to my transaction logs to restore at a point in time. when i choose restore from transaction logs and choose the backup to use i do not see any transaction logs on the screen under "select the transaction log backups to restore". Where are they to be found? are they within the backup file or are they a separate file? I need to restore some records that i mistakenly deleted.

  • Viewing Information About Backups

    http://msdn.microsoft.com/en-us/library/ms188653.aspx

  • bill.akin (12/27/2011)


    I have restored my live database into my test dbase with norecovery so that i can get to my transaction logs to restore at a point in time. when i choose restore from transaction logs and choose the backup to use i do not see any transaction logs on the screen under "select the transaction log backups to restore". Where are they to be found? are they within the backup file or are they a separate file? I need to restore some records that i mistakenly deleted.

    Was the target database set to Full Recovery Model?

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • yes it was

  • bill.akin (12/27/2011)


    yes it was

    Check TLOG BACKUP script - it should include a "TO DISK=N'----location of the tlog trn files----' option.

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • Ok thank you. turns out i have not backup transaction logs. so i did that and now have a transaction file to restore from but when i try to restore it has this error "the process cannot access the file because it is being used by another process" the file is not being accessed from anywhere else that i can see.

  • Is the back Tlog SQL Agent job/script still running?

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

Viewing 7 posts - 1 through 6 (of 6 total)

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