Solved

.TRN files will not delete

Posted on 2006-06-13
3
1,413 Views
Last Modified: 2008-09-30
I am using SQL 2000 and using the database maintenance plan to delete both the .bak and .trn files.

The scheduler deletes the .bak files just fine but NOT the .trn files.  The .trn files keep stacking up which I have to manually delete via Windows Explorer.

Any ideas?
0
Comment
Question by:mcnuttlaw
[X]
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
  • 2
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 350 total points
ID: 16895645
this happens if you have the database maintenance plan to do a transaction log backup on ALL databases, ie on at least 1 database that is NOT in recovery model = full.
it's a "bug" in SQL Server that it does not delete ANY .trn file as soon as there is a problem in ANY of the transaction log backups :-(

The solution:
Create 1 maintenance plan for the full backup (possibly all databases)
Create 1 maintenance plan for the transaction backup (only the databases in full recovery mode)
0
 
LVL 2

Author Comment

by:mcnuttlaw
ID: 16907825
okay angelIII,

It seemed to work.  I have one vendor-created database (for spam detection) that is set to simple.  Once I took that db off the transaction maintenance, all is well and the .trn files get deleted right on schedule.

Is there a problem in simple databases not having their transactions backed up?
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 16908797
>Is there a problem in simple databases not having their transactions backed up?
the only functionality you loose is that you cannot restore to a point in time.
with software like you described, the restore process is usually faster by reinstallating the software completely and configuring the few settings and it's gone.

technically, you cannot backup (ie it makes no sense) the transaction log of a database that is in simple recovery mode.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

739 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