April 3, 2010 at 12:21 am
Hi all,
The MS article http://msdn.microsoft.com/en-us/library/ms179314.aspx states that it is possible to take the TAIL LOG backup when the database is OFFLINE and does not start.
I deliberately put a DB offline, but I cant take the LOG BACKUP.
Any thoughts?
Thank
big[M]
John
April 3, 2010 at 12:57 am
The NO_TRUNCATE option is also giving an error.
Example:
BACKUP LOG AdventureWorks
TO DISK ='C:\Program Files\Microsoft SQL Server\SQLWorks\Backup\adv3.bak'
WITH NO_TRUNCATE
RESULT:
Msg 942, Level 14, State 3, Line 1
Database 'AdventureWorks' cannot be opened because it is offline.
Msg 3013, Level 16, State 1, Line 1
BACKUP LOG is terminating abnormally.
John
April 3, 2010 at 1:56 am
This only works if the database is offline because it failed to start, or is damaged in some way.
Setting an otherwise good database to OFFLINE explicitly does not work.
Paul White
SQLPerformance.com
SQLkiwi blog
@SQL_Kiwi
March 26, 2014 at 9:11 am
backup log....to disk='filename.trn'
fiel extention should be trn not bak
March 26, 2014 at 9:14 am
File extension can be .isanoddextension for all SQL cares. Extensions have no effect on behaviour
Please note: 4 year old thread
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply