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

donebert
donebert used Ask the Experts™
on
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. ????
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
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.

Author

Commented:
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 ???

Author

Commented:
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
Commented:
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.

Author

Commented:
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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial