Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to mount mail store?

Status
Not open for further replies.

dporrelli

Programmer
Dec 18, 2002
43
GB
We have SBS and recently setup a CRM server also, which has pushed the DB size almost to its limit, but what i have found is that the mailbox is needing to be mounted every morning.
Is there a script that I can run and schedule that would do this to save us having to mount the mail store manually.

Thanks
 
Its SBS 2003.
However I found this in a random google search and think it might cover what i'm wanting to do:

Set oDB = CreateObject("CDOEXM.MailboxStoreDB")

strDB = "CN=Mailbox Store (SERVER_NAME),CN=First Storage Group,CN=InformationStore,CN=SERVER_NAME,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=DOMAIN,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Domain,DC=local"

oDB.DataSource.Open strDB
oDB.Mount()

 
Yes, we already increased the size, it looks like its the CRM mailbox that is stopping the system, we are upgrading to full Exchange very soon, so this is only a temp fix.
 
So you are at 75GB on store on an SBS deployment trying to auto mount. Suggest you take lots of backups as this could permanently corrupt the store.
 
You have to mount the store daily? That is because Exchange is trying to protect your data. you need to obtain another exchange server now or lose everything.

________________________________________
Achieving a perception of high intelligence level can only be limited by your manipulation skills of the Google algorithm!
 
His Exchange crashed and therefore TT alerts failed :)

________________________________________
Achieving a perception of high intelligence level can only be limited by your manipulation skills of the Google algorithm!
 
Hi guys,

sorry, have been away.
We are still having problems, but so far so good, running backup everynight before re-mount.
We are upgrading to full exchange very soon so hopefully wont be a problem.
Thanks for your replies.
 
Just that we are getting rid of SBS and installing a "normal" exchange server, DC etc....
 
Upgrading to "full Exchange" won't solve your problems. If you are going up in version number then you move off the 16GB hard limit.

Exchange 2003 SBS has a 75GB limit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top