Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Why can't I backup the transaction log ?

Posted on 2002-04-01
4
353 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Powershell GUI pull downs populated by MS SQL table 2 35
Passing dataset name to stored procedure 3 19
SQL Query 2 31
Parse this column 6 23
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

792 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