You must perform a full database backup before you back up the transaction log for a database in SQL Server 2005 and in SQL Server 2000
SUMMARYBefore 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. INTRODUCTIONThis article describes that you must perform a full database backup before you back up the transaction log for a database of SQL Server. MORE INFORMATIONIn 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: Msg 4214, Level 16, State 1, Line 1
Additionally, messages that resemble the following are logged in the SQL Server Errorlog file:BACKUP LOG cannot be performed because there is no current database backup. Msg 3013, Level 16, State 1, Line 1 BACKUP LOG is terminating abnormally. 2006-10-10 11:16:05.63 spid52 Starting up database 'SampleDatabase'.
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.2006-10-10 11:16:05.92 spid52 Setting database option RECOVERY to FULL for database SampleDatabase. 2006-10-10 11:16:06.41 Backup Error: 3041, Severity: 16, State: 1. 2006-10-10 11:16:06.41 Backup BACKUP failed to complete the command BACKUP LOG SampleDatabase. Check the backup application log for detailed messages. REFERENCESFor 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 (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 (http://msdn2.microsoft.com/en-us/library/ms191304.aspx) APPLIES TO
| Article Translations
|
Back to the top
