Clearing Disk Space
Clearing Disk Space
IF a server is running low on disk space you can use the following steps to clear unnecessary files.
SQL
Right click on DB and select Properties. Then select Options and make sure Recovery Model is set to simple.
To Shrink sql log files. Right click on DB, Tasks, Shrink, Files. Then Select Log from first dropdown and select Ok.
Deleting Replication Log files in C:\ (Only select tracks with Replication enabled)
CS folder, CS_Replication, Log. Delete all files here.
RPMRecalc Logs (Only K1)
C:\ RecalcRPM, logs. Delete all files
IIS Log files
Inetpub, logs, logfiles, W3SVC1 and FTPSVC2 folders, delete all files except current one.
Clearing Badmail Folder
You can manually clear it out by going to inetpub, mailroot, badmail. Or if it is too large use the following command:
cd c:\inetpub\mailroot\badmail
del *.*
This cmd is setup for C:\ FYI
Emptying Recycle Bin
You can delete all files except for the pccw.mdb files, as those are needed for PcCharge errors. Just keep the current
days file and a few from 10 to 30 days out.