Article ID: 928317
Article Last Modified on 11/20/2007
APPLIES TO
- Microsoft SQL Server 2005 Standard Edition
- Microsoft SQL Server 2005 Enterprise Edition
- Microsoft SQL Server 2005 Developer Edition
- Microsoft SQL Server 2005 Express Edition
- Microsoft SQL Server 2005 Workgroup Edition
- Microsoft SQL Server 2005 Standard X64 Edition
- Microsoft SQL Server 2005 Standard Edition for Itanium-based Systems
- Microsoft SQL Server 2005 Enterprise X64 Edition
- Microsoft SQL Server 2005 Enterprise Edition for Itanium-based Systems
- Microsoft SQL Server 2000 Standard Edition
- Microsoft SQL Server 2000 Developer Edition
- Microsoft SQL Server 2000 Enterprise Edition
- Microsoft SQL Server 2000 Personal Edition
- Microsoft SQL Server 2000 Workgroup Edition
SUMMARY
Before you try to back up the transaction log for a database in Microsoft SQL Server 2005, you must perform a full database backup. Otherwise, you receive error messages that indicate that the BACKUP LOG statement stops abnormally. You must also perform a full database backup before you try to back up the transaction log for a database in Microsoft SQL Server 2000. However, if you do not perform a full database backup before you back up the transaction log of a database in SQL Server 2000, the BACKUP LOG statement does not stop.
INTRODUCTION
This article describes that you must perform a full database backup before you back up the transaction log for a database of SQL Server.
MORE INFORMATION
In SQL Server 2005, you must perform a full database backup before you back up the transaction log for a database. Otherwise, when you try to back up the transaction log for a database, you receive the following error message:
Additionally, messages that resemble the following are logged in the SQL Server Errorlog file:
In SQL Server 2000, if you try to back up a transaction log before you back up the full database, you only receive a warning message that resembles the following:
Additionally, a successful backup is reported in the SQL Server Errorlog file. The text in the log file resembles the following:
The warning message indicates that you cannot use this transaction log backup for any restore operations if you do not have a full database backup.
REFERENCES
For more information, visit the following Microsoft Developer Network (MSDN) Web sites:
Backing up and restoring databases in SQL Server
http://msdn2.microsoft.com/en-us/library/ms187048.aspx
How to: Create a full database backup (Transact-SQL)
http://msdn2.microsoft.com/en-us/library/ms191304.aspx
Keywords: kbinfo kbtshoot kbexpertiseadvanced kbsql2005engine KB928317