Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 643
  • Last Modified:

NTBackup of Exchange 2003 very slow

I am running a fully patched Exchange 2003 server on Windows 2003 sp2. My exchange server is virtualized and all data is connected to an EMC SAN. I am using NTBackup solely as a way to clear the log files in a graceful manner but lately the process is taking so long, it bleeds over into to my VM backups so the VM backup fails for the exchange server.

I have my exchange server divided into 3 edb's and stm's with 1 pub edb and stem or 8 files totaling around 82GB. It takes NT Backup just over 15 hrs and that with only about 200 or so log files...It averages to about 85mb/min...pitiful.

The logs and database reside on SAN optical drives where the backup is being written to a SAN SATA drives. All drives are connected via iSCSI to the SAN.

Is there a way to speed this up...or better yet, is there a script that can shut down the services (I can write that) but also delete all the log files except the last one written in order to keep the sequence? That would be much better for I do not really need the actually backup for DR recovery reasons.

Thanks
0
Mark Lewis
Asked:
Mark Lewis
1 Solution
 
sosinc3Commented:
You can use the NET STOP command in your script to stop the necessary services like the Store service, system attendent, etc. As for deleting the files, here is a good article that talks about how to do that. http://scottelkin.com/programming/delete-files-older-than-date-using-batch-files/

You would of course need to change the path, etc. to match your environment. Be careful not to delete the edb0.log file

0
 
Mark LewisAuthor Commented:
This solution will work but it only provide a partial solution to deleting ALL the logs. Deltion by date will not get  them all.
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now