Link to home
Start Free TrialLog in
Avatar of donebert
donebert

asked on

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

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. ????
Avatar of abdulzis
abdulzis
Flag of United States of America image

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.
Avatar of donebert
donebert

ASKER

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 ???
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
ASKER CERTIFIED SOLUTION
Avatar of abdulzis
abdulzis
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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