Solved

how to delete transaction log file

Posted on 2009-04-12
2
661 Views
Last Modified: 2012-06-21
Hi
some time I can't run normal or incremental  backup from the database in exchange server , so  log files takes too much capacity of our storage , I want to get ride of those log files , how can I do this without running any backup ?

B.M
0
Comment
Question by:Mapnaturbine
[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 Comments
 
LVL 13

Accepted Solution

by:
FearNoMore earned 150 total points
ID: 24124976
If log files are committed to the database then you can move them to a external drive or you could just delete them.
However deleting log files is not recommended.
You could also use the feature called "Circular Logging". Check the below link for more information
http://technet.microsoft.com/en-us/library/bb331968.aspx
Do keep in mind that the best way to purge the log files is to take a backup, so I would look into why exactly the backup is failing
 
0
 
LVL 58

Assisted Solution

by:tigermatt
tigermatt earned 150 total points
ID: 24124987

Deleting log files for a live, working storage group must NEVER, EVER be done manually. The structure of Exchange is that the software manages and controls the transaction logs, and removes them accordingly.

The only way to remove the logs properly is by running an Exchange-aware Full Backup. This will ensure all logs are committed to the database, and will then purge them.

Circular Logging is only intended as an interim solution if you run out of disk space for storing the log files, since it will only store a certain size of logs as a maximum. It is NOT a long-term solution in terms of disaster recovery; with circular logging enabled, you can ONLY restore as far back as the last backup. Without a full set of untouched log files, you will never recover anything over and above that backup.

-Matt
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

615 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