Exchnage 2007 SP2 Need help shrinking Database

I tried to use this command and I get a Syntax error
The command I am using is
C:\Program Files\Microsoft\Exchange Server\Bin>eseutil /d c:\program files\excha
nge server\mailbox\First Storage Group\Mailbox Database.edb . This is the default that I used to install.

There error I get when I try to run which I dismounted both Database .
C:\Program Files\Microsoft\Exchange Server\Bin>eseutil /d c:\program files\
nge server\mailbox\First Storage Group\Mailbox Database.edb

Usage Error: Invalid argument 'files\exchange'. Options must be preceded by
or '/'.

Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 08.02
Copyright (C) Microsoft Corporation. All Rights Reserved.

DESCRIPTION:  Database utilities for the Extensible Storage Engine for Micr
(R) Exchange Server.

MODES OF OPERATION:
      Defragmentation:  ESEUTIL /d <database name> [options]
             Recovery:  ESEUTIL /r <logfile base name> [options]
            Integrity:  ESEUTIL /g <database name> [options]
             Checksum:  ESEUTIL /k <file name> [options]
               Repair:  ESEUTIL /p <database name> [options]
            File Dump:  ESEUTIL /m[mode-modifier] <filename>
            Copy File:  ESEUTIL /y <source file> [options]
              Restore:  ESEUTIL /c[mode-modifier] <path name> [options]

<<<<<  Press a key for more help  >>>>>
D=Defragmentation, R=Recovery, G=inteGrity, K=checKsum,
P=rePair, M=file duMp, Y=copY file, C=restore
=>
Jryals8900Asked:
Who is Participating?
 
Jryals8900Connect With a Mentor Author Commented:
Called Microsoft and had them work with me on fixing this. Thank you all for your help.
0
 
Glen KnightCommented:
Doing an offline defray with Exchange 2007 is a waste of time.

Just create a new store and move the mailboxes to it.

No downtime, a completely defrauded and error free store and no chance of data loss.

Read my article here: http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_2730-Exchange-Offline-Defrag.html
0
 
Jryals8900Author Commented:
I am really trying to free Upspace. The DB says My Storage group is 21 gigs. Maybe I aksed the question wrong. I want to reduce the Size of this.
0
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

 
Glen KnightCommented:
If there is no whitespace in the database there is nothing you can do to reduce space.  You will need to delete/archive email from mailboxes.  This will create whitespace.

Then if you have whitespace simply create a new mailbox store and move the mailboxes to this store then delete the old one.

With exchange 2007/2010 there is no need to run an offline defrag.  Have a read of my article.
0
 
Jryals8900Author Commented:

What is whitespace .. SOrry ?

Thanks. I feel my users are just not deleting. I did read your article event id is 689 megs. Any way to Archice Email from the server side vs users exporting to Archive folders. We are planning to install Exchange 2010 after I decommsssion a good ol 2000 DC LOl
ANy articles you send my way of havving Policies on 14 days your Trash will be deleted?
0
 
Glen KnightCommented:
Whitespace is "free" space in the database.

Funny you should mention articles, you might want to checkout another of mine here: http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_3538-Deleting-mail-of-a-certain-age-from-Exchange-mailboxes.html

Don't forget if you find my articles useful please vote for them :)
0
 
Shabarinath RamadasanInfrastructure ArchitectCommented:
If the white space is only 689 MB, you are not gaining anything by an offline defr.
Also, if you make all the users archive, still the DB size wont come down if you are not doing an offline defrag. So better approach is to add one more DB in the Drive where you have space and create a new DB there. Move users to the new DB and delete the old DB.

Good Luck !
Shaba
0
 
Shabarinath RamadasanInfrastructure ArchitectCommented:
And why you are getting the error while trying eseutil?

its just because the path for exchange DB  should be with in quotes.

eseutil /d "c:\program files\exchange server\mailbox\First Storage Group\Mailbox Database.edb"

FYI - You should have 110% free space for trying an offline defragmentation.

Cheers !
-Shaba-
0
 
Jryals8900Author Commented:
When I run the utility
it gives me this and both databases are dismounted

C:\Program Files\Microsoft\Exchange Server\Bin>eseutil /d "c:\program files\exch
ange server\mailbox\First Storage Group\Mailbox Database.edb"

Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
Version 08.02
Copyright (C) Microsoft Corporation. All Rights Reserved.

Error: Access to source database 'c:\program files\exchange server\mailbox\First
 Storage Group\Mailbox Database.edb' failed with Jet error -1811.

Operation terminated with error -1811 (JET_errFileNotFound, File not found) afte
r 0.0 seconds.
0
 
Jryals8900Author Commented:
oopes... I has the PAth wrong !!!! Sorry I will run anway to see hwat happens
0
 
Glen KnightCommented:
There is no need to run it! It's a complete waste if time and potential for data loss!
Have you ready article???
0
 
Jryals8900Author Commented:
Ok.. I strarted the Defrag ... Now I have 50 megs of Free space. Where are the Temp files stored during this process?
Its a Virtual Server so I guess I can create another drive or send to a network share? Where do I tell the app on where it sends to? Before I started I had 9 gigs free? HELP
0
 
Jryals8900Author Commented:
Or how do I undo this defrag?
Is there a switch that puts the Database to get it back to 9 gigs free on the drive? Then I am rebuilding another virtual server to Exchange 2010 .. Just trying to buys ome time :-)
0
 
Glen KnightCommented:
Why did you run a defrag?
Did you not read my article or posts?

It's a complete waste of time on anything other than standard edition if exchange 2003.

Exactly the same results can be achieved by creating another data store and moving the mailboxes.

I am not going to participate in this question any further.
0
 
Glen KnightCommented:
Would you mind explaining what you did and why?
The information I provided was correct.
0
All Courses

From novice to tech pro — start learning today.