RE: SBS 2K3 PreM Various Log File (s) Cleanup



Hi,

Thanks for posting here!

For your description, I understand that you want to know which log files we
can delete safely. If I am off base, please don't hesitate to let me know.

Log file is used to trace system or application installation change and
debugging information in case there is any problem we can troubleshoot it
use the information and restore important data from it. Different
applications have different log creation and storage methods. For example,
by default IIS log file will be created based day if the IIS log is enabled
and you can safely delete the older file. Also if you don't need IIS debug
logs, you can uncheck Enable Logging box. In this way, the IIS log files
will not be created later. Many applications' log files can be deleted
manually and change location, which depends on your needs.

I would like to give your some suggestions to free up disk space,
especially C drive:

1. Use the Disk Cleanup tool to delete all temporary files. You can launch
the tool from Start -> Programs -> Accessories -> System Tools -> Disk
Cleanup. For more information, you can refer to the following KB article
which also applies to Windows 2000/Windows 2003:

310312 Description of the Disk Cleanup Tool in Windows XP
http://support.microsoft.com/?id=310312

After you do this, how about the temp folder size?

2. You can delete the $NtUninstallxxxxxx$ folder to free up space. When we
install a Windows Update or Hot Fix, a folder named $NtUninstallxxxxxx$
will be created under the WINNT folder. When we install Service Pack, a
folder named $NTServicePackUninstall$ will also be created. These folders
contain the uninstallation files for these Windows Updates and service
pack. They keep the original version of the files replaced by the updates
and service pack. With these folders, we can uninstall the updates and
service pack in case some cause problems to the system. If your system runs
well, you can safely remove the folders.

For more information, see:

290402 HOW TO: Remove the Service Pack Restore Files and Folders in Windows
http://support.microsoft.com/?id=290402

3. Perform an online backup of the Exchange 2003 Information Store to purge
the transaction log files. You can use either the Windows 2003 built-in
NTBackup tool or an Exchange-aware third party backup tool. To use NTBackup
to backup Exchange information store, you can refer to the following
Microsoft KB article:

258243 How to Back Up and Restore an Exchange Computer by Using the Windows
http://support.microsoft.com/?id=258243

4. Use the "Eseutil /d" command to defrag the Exchange 2003 server
databases. When the users delete messages, the size of the database will
keep the same and you must perform an offline defragmentation using the
exeutil tool to reduce the Exchange database seize. Please note that
defragmenting a database requires free disk space equal to 110 percent of
the size of the database that you want to process so if you do not have
enough free space to run the eseutil tool, you can defrag the database on
another computer. See:

328804 How to Defragment Exchange Databases
http://support.microsoft.com/?id=328804

192185 XADM: How to Defragment with the Eseutil Utility (Eseutil.exe)
http://support.microsoft.com/?id=192185

5. If a defrag still cannot free up much space of your C drive, you can
consider moving the Exchange databases and log files to another hard drive
with bigger capacity. You can refer to the following MS KB articles to get
more information on doing this:

821915 How to move Exchange databases and logs in Exchange Server 2003
http://support.microsoft.com/?id=821915

6. You can also move client programs folder, sharepoint database, monitor
database, and so on to another location to free up C drive disk space.

You can refer to the following MS white paper to move data folders as you
want to:

Moving Data Folders for Windows Small Business Server 2003
http://www.microsoft.com/technet/prodtechnol/sbs/2003/maintain/movedata.mspx

830254 How to move the client programs folder to another location in Windows
http://support.microsoft.com/?id=830254

*Note: Please always remember to do regular full backup of your server in
case of problems. You can refer to the following article to do a backup of
SBS
2003:

Backing Up and Restoring Windows Small Business Server 2003
http://www.microsoft.com/downloads/details.aspx?FamilyID=487736f8-f6f5-436d-
a82d-0c8d66e2a634&displaylang=en

More info:
839214 You cannot mount an Exchange database that was moved by using the
http://support.microsoft.com/?id=839214

328794 How to protect Exchange data from hard disk failure
http://support.microsoft.com/?id=328794

Hope this helps! If you have any further concern or question about the
issue, please feel free to let me know. We are always happy to be
assistance of you!

Have a nice day!

Best Regards,

Jenny Wu
Microsoft CSS Online Newsgroup Support
Get Secure! - www.microsoft.com/security
======================================================
This newsgroup only focuses on SBS technical issues. If you have issues
regarding other Microsoft products, you'd better post in the corresponding
newsgroups so that they can be resolved in an efficient and timely manner.
You can locate the newsgroup here:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx

When opening a new thread via the web interface, we recommend you check the
"Notify me of replies" box to receive e-mail notifications when there are
any updates in your thread. When responding to posts via your newsreader,
please "Reply to Group" so that others may learn and benefit from your
issue.

Microsoft engineers can only focus on one issue per thread. Although we
provide other information for your reference, we recommend you post
different incidents in different threads to keep the thread clean. In doing
so, it will ensure your issues are resolved in a timely manner.

For urgent issues, you may want to contact Microsoft CSS directly. Please
check http://support.microsoft.com for regional support phone numbers.

Any input or comments in this thread are highly appreciated.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: "User" <User@xxxxxxxx>
>Subject: SBS 2K3 PreM Various Log File (s) Cleanup
>Date: Tue, 18 Oct 2005 13:30:16 -0700
>Lines: 7
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
>X-RFC2646: Format=Flowed; Original
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
>Message-ID: <#WlVhMC1FHA.3188@xxxxxxxxxxxxxxxxxxxx>
>Newsgroups: microsoft.public.windows.server.sbs
>NNTP-Posting-Host: static-64-65-147-129.dsl.sea.eschelon.com 64.65.147.129
>Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.server.sbs:162422
>X-Tomcat-NG: microsoft.public.windows.server.sbs
>
>I'm wondering which log files (and their locations) can be cleaned/deleted
>periodically from the server?
>
>Such as the IIS and smtp logs..
>Thanks,
>
>
>

.



Relevant Pages

  • Re: Exchange server
    ... microsoft exchange information store service or both. ... you unable to mount the exchange database with error c1041724. ... The Eseutil log files have not been removed. ... Programs, point to Microsoft Exchange, and then click System Manager. ...
    (microsoft.public.windows.server.sbs)
  • Re: Exchange 2003 move data
    ... Microsoft Exchange Support ... > database files in Exchange Server 2003. ... > If you want to move log files or database files to another drive, ... > folder store that you want to change, ...
    (microsoft.public.exchange.setup)
  • Re: Jet_errMissingLogFile
    ... >needing the logs as well to do a restore. ... Whether log files are essential is determined by how you plan your ... Exchange is an ACID compliant messaging system. ... Exchange uses a database and log files for storing mail, ...
    (microsoft.public.exchange2000.active.directory.integration)
  • Re: Exchange server
    ... Determine if the eseutil /p command was run on the database. ... These commands assume that you are running Exchange 2003 from drive C ... All the log files have been committed to the information ...
    (microsoft.public.windows.server.sbs)
  • Re: How to commit tran log to .edb
    ... database corrruption error is gone. ... MVP - Exchange ... On our exchange server i get the databse corruption error and from the ... delete those log files. ...
    (microsoft.public.exchange.admin)

Loading