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. ????
LVL 1
donebertAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

abdulzisCommented:
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
donebertAuthor 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 ???
0
donebertAuthor 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
0
abdulzisCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
donebertAuthor 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
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.