A "Database log truncated" error is logged in the Event Log when you try to back up the transaction log (818202)
The information in this article applies to:
- Microsoft SQL Server 2000 Desktop Engine (MSDE)
- Microsoft SQL Server 2000 Standard Edition
- Microsoft SQL Server 2000 Developer Edition
- Microsoft SQL Server 2000 Enterprise Edition
- Microsoft SQL Server 2005 Express Edition
- Microsoft SQL Server 2005 Standard Edition
- Microsoft SQL Server 2005 Developer Edition
- Microsoft SQL Server 2005 Enterprise Edition
SYMPTOMSWhen a database is in the full recovery model, and you try
to back up the transaction log files with either a NO_LOG or TRUNCATE_ONLY
option, the following message is logged in the Application Log of the Event
Viewer: Event Type: Error Event Source:
MSSQLSERVER Event Category: 6 Event ID: 17055 User: <User
name> Computer: <Computer name> Description: 18278
: Database log truncated: Database: <Database name>.
Note The same message is also logged in the SQL Server 2000 error log.
If you use SQL Server 2005, the following message is logged in the Application event log: Event Type: Error
Event Source: MSSQLSERVER
Event Category: (6)
Event ID: 8309
Description:
BACKUP LOG WITH TRUNCATE_ONLY or WITH NO_LOG is deprecated. The simple recovery model should be used to automatically truncate the transaction log.
For more information, see Help and Support Center at http://support.microsoft.com.
CAUSEThis warning message may be logged because the NO_LOG and
TRUNCATE_ONLY options of the BACKUP statement truncate the transaction log
files, and you might need transaction logs for the full recovery of the
database. REFERENCESFor more information about the NO_LOG and the TRUNCATE_ONLY
options, visit the following Microsoft Web site: BACKUP
For additional information about the sqldiag utility, click the following
article number to view the article in the Microsoft Knowledge Base: 233332
INF: How To Run SQLDIAG On a Clustered/Virtual SQL Server
Modification Type: | Major | Last Reviewed: | 9/22/2006 |
---|
Keywords: | kbcode kberrmsg kbTSQL kbprb KB818202 kbAudDeveloper |
---|
|