Solved

Why can't I backup the transaction log ?

Posted on 2002-04-01
4
347 Views
Last Modified: 2010-05-18
I'm trying to backup the transaction log of the master database but keep getting error :-

Server: Msg 4212, Level 16, State 1, Line 1
Cannot back up the log of the master database. Use BACKUP DATABASE instead.
Server: Msg 3013, Level 16, State 1, Line 1
BACKUP LOG is terminating abnormally.

I can backup the database without error.

Any suggestions ?
0
Comment
Question by:gng
  • 2
4 Comments
 

Expert Comment

by:allian11
ID: 6910798
I don't know why you are trying to backup Tr. Log on Master database. Most of time , daily Full backup for master database should be enough. Truncate Log on checkpoint is enabled on master database by default. That's why you cannot backup transaction log. You have to disable it if you want to do transaction log backup.

Good Luck,
0
 
LVL 18

Accepted Solution

by:
nigelrivett earned 200 total points
ID: 6910853
You cannot backup the transaction log in master as it requires non-logged operations.
That's one reason why it's not a good idea to put any user objects their.
0
 
LVL 6

Expert Comment

by:acampoma
ID: 6910997
also, by default, the master database is in simple mode
which does not suport transaction log backups
0
 
LVL 6

Expert Comment

by:acampoma
ID: 6911000
Oops:

also, by default, the master database is in simple recovery mode
which does not suport transaction log backups
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now