Transaction log restoring is failed

  • I have statement and run it by SQL jobs

    RESTORE LOG DB_SHOP FROM DISK = 'DB_backup_201201221250.trn' WITH FILE = 1, STANDBY = 'DB_backup_201201221250.bak', NOUNLOAD, STATS = 10

    (1 row(s) affected)

    14 percent processed.

    31 percent processed.

    49 percent processed.

    66 percent processed.

    Msg 3203, Level 16, State 1, Procedure s_res_translog_for_database, Line 70

    Read on "D:\MSSQL_Backup\LOG\DB_backup_201201221250.trn" failed: 38(Reached the end of the file.)

    Msg 3013, Level 16, State 1, Procedure s_res_translog_for_database, Line 70

    RESTORE LOG is terminating abnormally.

    Can you help me ?

    thanks all

    phuongnh

  • Its seems the log backup file got corrupted.

  • I do not think so

  • nhphuong76 (1/29/2012)


    I have statement and run it by SQL jobs

    RESTORE LOG DB_SHOP FROM DISK = 'DB_backup_201201221250.trn' WITH FILE = 1, STANDBY = 'DB_backup_201201221250.bak', NOUNLOAD, STATS = 10

    Did you try this command to see whether your transaction log backup is valid.

    restore headeronly from disk = 'DB_backup_201201221250.trn' with unload

    ---- babu

  • miss copy, full path is D:\MSSQL_BACKUP\DB_backup_201201221250.trn

  • nhphuong76 (1/29/2012)


    miss copy, full path is D:\MSSQL_BACKUP\DB_backup_201201221250.trn

    Perform this on your backup file to ensure it is valid:

    RESTORE VERIFYONLY FROM DISK = 'D:\MSSQL_BACKUP\DB_backup_201201221250.trn' WITH STATS = 1

    If the result comes as valid, the backup file is intact.


    Sujeet Singh

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

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