Solved

Deleting SBS log files

Posted on 2011-03-10
3
1,216 Views
Last Modified: 2012-05-11
I need to free up some disk space on our C partition. We are running SBS2008. As a short term fix I would like to delete some of the log files. Can I safely delete/archive everything in C:\inetpub\logs\LogFiles? There is currently 6G of logs there. Also I see a 3G SBS SBS_Monitoring.ldf file in the SQL server directory. Can this be cleared or reduced in size?

Just need a quick fix until the disk can be reparitioned.
0
Comment
Question by:pmckenna11
3 Comments
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 500 total points
ID: 35097770
You can move/delete/archive the IIS logs (I would archive)

As for SBS Monitoring, see this - if run, it should shrink everything, but WARNING: I had a client with a 3.8 GB database and this grew its log (or a temporary one, I forgot which) by 20 GB during the procedure, so MAKE SURE you have at least 20 GB of free space on the C: drive first.
http://www.thirdtier.net/2010/03/sbs-2008-monitoring-database-fills-to-capacity/
0
 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 35098820
Leew hit the big one (I love that Third Tier blogpost!...but I'm biased) ...but also make sure your SBS install is fully patched. There were specific space-saving (and performance tuning!) updates included with SBS update-rollup 4 (UR4) that I find is missing a suprising number of times.
0
 
LVL 13

Expert Comment

by:connectex
ID: 35099171
I personally have a job configured to remove IIS logs older then 30 days. It runs weekly. You can disable the logging entirely but I like to have it for troubleshooting and other reasons.
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

If you are a user of the discontinued Microsoft Office Accounting 2008 (MSOA) and have to move to a new computer running Windows 8, you will be unhappy to discover that it won't install.  In particular, Microsoft SQL Server 2005 Express Edition (SSE…
Know what services you can and cannot, should and should not combine on your server.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

810 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