?
Solved

WANT TO OFF-LINE DEFRAG DATABASE TO DRIVE D, DATABASE IS STILL ON C

Posted on 2008-11-15
5
Medium Priority
?
208 Views
Last Modified: 2012-05-05
I want to do a off-line defrag of exchange server 2003 enterprise to recove some room. I have a drive d: with the required 110% of space. I want to retain the original database in the c:\program files\exchangesrvr folder. Not sure on what command I would run.
eseutil /d: C:\Program Files\Exchsrvr\exchange database\priv1.edb /ftempdfrg.stm

Is this correct. ????
0
Comment
Question by:donebert
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:abdulzis
ID: 22967639
eseutil /d: C:\Program Files\Exchsrvr\exchange database\priv1.edb /t "location of new database" /P

/T tempName
Specifies a name for the temporary database that eseutil creates. Useful for redirecting the temporary database to another disk where you have more space. Defaults to tempdfrg.edb in the current working directory.
/P
Tells eseutil to preserve the temporary database, so it will create it but not replace the original with the newly created file. You would then need to manually replace the original file with the newly created temporary file.
0
 
LVL 1

Author Comment

by:donebert
ID: 22967642
Thanks a bunch, The original database will stay in it's current location and I wont have to do anything once defragged except to mount the store ?? Correct ???
0
 
LVL 1

Author Comment

by:donebert
ID: 22967667
OK, I want to just defrag the original database onto Drive D: and have the original database stay where it is, but with the new defragged database. So I still need to  the /P option ???? or should I leave it off
0
 
LVL 9

Accepted Solution

by:
abdulzis earned 2000 total points
ID: 22967763
Offline defrag works by creating a new database and then replacing the original one with the defragged one Automatically. So if you want to avoid doing it manually, then do not use the /P switch.
0
 
LVL 1

Author Closing Comment

by:donebert
ID: 31517094
Thanks for your quick response. I'm at work today and wanted to take care of this ASAP. You were a big help. Thank You
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

This article describes Top 9 Exchange troubleshooting utilities that every Exchange Administrator should know. Most of the utilities are available free of cost. List of tools that I am going to explain in this article are:   Microsoft Remote Con…
You finally migrated Public Folders to Office 365, decommissioned the Public Folder mailbox database and since then, when you send an email from on-premise to mail-enabled Public Folders, you get the following error: "Misconfigured public folder mai…
To show how to generate a certificate request 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 Servers >> Certificates…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses
Course of the Month12 days, 16 hours left to enroll

580 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