Backup Transaction Log job failing

  • Greetings,

    I am getting an error 22029 when I try to run a Transaction Log Backup job when using xp_sqlmaint. I get this error whether I create the job by hand using xp_sqlmaint or I create a DB Maintenance Plan through EM that backs up the Transaction Log.

    I have seen various forums regarding this topic, but none of them have provided the cause or solution. The funny thing is that I create 3 other jobs in this same maintenance plan (including a full DB backup job), and these 3 jobs run fine. Only the Log backup job fails.

    Does anyone have any idea what the problem is?

    Here is the xp_sqlmaint script I use to create the job:

    EXECUTE master.dbo.xp_sqlmaint

    '-D C2000 -PlanName C2000

    -Rpt "C:\Program Files\Microsoft SQL Server\MSSQL\LOG\C2000_Standard_Hourly_Backups6.txt"

    -DelTxtRpt 4WEEKS -WriteHistory

    -VrfyBackup -BkUpMedia DISK -BkUpLog

    -UseDefDir -DelBkUps 1WEEKS -BkExt "TRN"'

    Thanks,

  • Under database options check to see if the truncate log on check point isn't set.

    Do you any nonlogged updates? A DTS package moving a table or rebuilding a table?

    John Zacharkan


    John Zacharkan

  • Check maintenance plan history to see any errors reported?

  • Thanks for the replies.....it was the Truncate log on chkpt setting....it needs to be set to off.

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

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