Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. can't restore differential backup and tracsaction log.

can't restore differential backup and tracsaction log.

Scheduled Pinned Locked Moved Database
databasehelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tan873
    wrote on last edited by
    #1

    I do every day differential backup, transaction log and shrink file, weekly full backup.when i restore database, it show this message: Processed 6536 pages for database 'project2', file 'project2' on file 1. Processed 2 pages for database 'project2', file 'project2_log' on file 1. RESTORE DATABASE successfully processed 6538 pages in 12.534 seconds (4.273 MB/sec). Processed 0 pages for database 'project2', file 'project2' on file 1. Processed 4 pages for database 'project2', file 'project2_log' on file 1. RESTORE LOG successfully processed 4 pages in 0.048 seconds (0.544 MB/sec). Msg 4312, Level 16, State 1, Line 3 This log cannot be restored because a gap in the log chain was created. Use more recent data backups to bridge the gap. Msg 3013, Level 16, State 1, Line 3 RESTORE LOG is terminating abnormally. Msg 4312, Level 16, State 1, Line 4 This log cannot be restored because a gap in the log chain was created. Use more recent data backups to bridge the gap. Msg 3013, Level 16, State 1, Line 4 RESTORE LOG is terminating abnormally. Msg 3136, Level 16, State 1, Line 5 This differential backup cannot be restored because the database has not been restored to the correct earlier state. Msg 3013, Level 16, State 1, Line 5 RESTORE DATABASE is terminating abnormally. how can i solve this problem.

    C 1 Reply Last reply
    0
    • T tan873

      I do every day differential backup, transaction log and shrink file, weekly full backup.when i restore database, it show this message: Processed 6536 pages for database 'project2', file 'project2' on file 1. Processed 2 pages for database 'project2', file 'project2_log' on file 1. RESTORE DATABASE successfully processed 6538 pages in 12.534 seconds (4.273 MB/sec). Processed 0 pages for database 'project2', file 'project2' on file 1. Processed 4 pages for database 'project2', file 'project2_log' on file 1. RESTORE LOG successfully processed 4 pages in 0.048 seconds (0.544 MB/sec). Msg 4312, Level 16, State 1, Line 3 This log cannot be restored because a gap in the log chain was created. Use more recent data backups to bridge the gap. Msg 3013, Level 16, State 1, Line 3 RESTORE LOG is terminating abnormally. Msg 4312, Level 16, State 1, Line 4 This log cannot be restored because a gap in the log chain was created. Use more recent data backups to bridge the gap. Msg 3013, Level 16, State 1, Line 4 RESTORE LOG is terminating abnormally. Msg 3136, Level 16, State 1, Line 5 This differential backup cannot be restored because the database has not been restored to the correct earlier state. Msg 3013, Level 16, State 1, Line 5 RESTORE DATABASE is terminating abnormally. how can i solve this problem.

      C Offline
      C Offline
      Corporal Agarn
      wrote on last edited by
      #2

      First do not shrink the file.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups