A transaction log backup job that is created in Database Maintenance Planner fails to execute (303229)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
- Microsoft SQL Server 2005 Standard Edition
- Microsoft SQL Server 2005 Developer Edition
- Microsoft SQL Server 2005 Enterprise Edition
- Microsoft SQL Server 2005 Workgroup
This article was previously published under Q303229 SYMPTOMS
The Database Maintenance Planner is used to schedule jobs to back up a database and its transaction log. The job to back up the database succeeds, but the job to back up the transaction log fails. When you view the job history, you see a message that resembles the following:
The job failed. The Job was invoked by Schedule 4 (Schedule 1). The last step to run was step 1 (Step 1).
To verify whether you are encountering this problem, you can examine the Database Maintenance Plan log file (if you chose to create one) which is stored in the Log folder for SQL Server (by default in C:\Program Files\Microsoft SQL Server\MSSQL\LOG for a default instance). If you see a message that resembles the following in the DB Maintenance Plan log file, the job failed because transaction log backups are disallowed on the database:
Backup can not be performed on database 'Northwind'. This sub task is ignored.
CAUSE
The transaction log backup job may have failed because the database is using the "Simple" recovery model in SQL Server 2000 or in SQL Server 2005.
WORKAROUND
If you are not relying on transaction log backups as part of your disaster recovery strategy, you could modify the maintenance plan to only perform full database backups.
If you are relying on transaction log backups, however, you will need to change the recovery model for that database to "Full" or "Bulk-Logged" in SQL Server 2000 or in SQL Server 2005.
In SQL Enterprise Manager, right-click the database and click Properties. Click the Options tab and select either Bulk-Logged or Full for the recovery model.
For a description of the three recovery models and their differences, see "Selecting a Recovery Model" in SQL Server Books Online.
Modification Type: | Major | Last Reviewed: | 12/20/2005 |
---|
Keywords: | kbprb KB303229 |
---|
|