Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Tail of trans log problem

Author  Topic 

DeepGround
Yak Posting Veteran

73 Posts

Posted - 2008-09-10 : 14:16:31
After switching to SQL 2005 I now get an error when trying to restore over a database from a backup:

The tail of the log for the database "DST08000TUSD" has not been backed up. Use
BACKUP LOG WITH NORECOVERY to backup the log if it contains work you do not
want to lose.

So I looked up the backup log with norecovery on the microsoft technet and it said to write backup log database to filelocation with norecovery

Here is what I try and I get bad syntax near C:

BACKUP LOG DST08000TUSD TO C:\ WITH NORECOVERY

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-09-10 : 14:25:51
...TO DISK = 'C:\SomeFile.trn'...

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

DeepGround
Yak Posting Veteran

73 Posts

Posted - 2008-09-10 : 15:04:37
The SQL goddess saves the day again, it worked thanks.
Go to Top of Page
   

- Advertisement -