Q

Incorporate intact transaction log

I have a SQL database that is being backed up nightly. The corresponding transaction log is not. I can restore the previous night's backup, but I need to incorporate the transaction log that is still intact.
As long as the database is set to FULL recovery or Bulk-Logged you will be able to issue a transaction log backup. To create a backup of the transaction log you can either use Enterprise Manager or you can issue the following command:

BACKUP LOG databasename TO DISK = 'C:\filename_LOG.bck'

Once you have the transaction log backed up you can then restore both your full backup and your transaction log backup.


Do you have comments on this Ask the Expert Q&A? Let us know.
This was last published in July 2005

Dig Deeper on SQL Server Backup and Recovery

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchBusinessAnalytics

SearchDataCenter

SearchDataManagement

SearchAWS

SearchOracle

SearchContentManagement

SearchWindowsServer

Close