Solved

Messagetracking Log information in Exchange Server 2007 retention period

Posted on 2009-06-30
6
512 Views
Last Modified: 2013-12-01
Hi All I've got a question that need some more clarification regarding Exchange Server 2007 Message tracking log.

Each week (Sunday) i do Full backup using Symantec Backup Exec System Recovery 8.5.3
and Incremental backup every other day.

when I execute the following script to get the Distribution usage statistic, does this means i get the last week worth of data instead of whatever i put into the -Start parameter ?

I believe that by using Full backup the transaction log gets flushed.

Please shed some light in this matter.

Thanks
#----------------------------------

#Count for each group of messages

#----------------------------------

#

Get-MessageTrackingLog -Start 1/1/2009 -EventId Expand | group-object RelatedRecipientAddress | Sort-Object Count | ft Name,Count -Autosize

#

Open in new window

0
Comment
Question by:jjoz
  • 3
  • 3
6 Comments
 
LVL 29

Accepted Solution

by:
mass2612 earned 500 total points
ID: 24751343
Hi,

You command will get data from the date you specifiy using the -Start parameter or as far back as the message tracking maximum log age is set to. You can check the MessageTrackingLogMaxAge from the hub transport server using Get-TransportServer or from the mailbox server using Get-MailboxServer.

If your message tracking max age is set to 30 days then you can only see data up to 30 days ago. If its set for less then you get less data no matter what you put in the -Start parameter in your command.

when you say full backup and transaction logs getting flushed you are correct. When you run a full backup of the Exchange databases using an Exchange aware backup program then the transaction log data is flushed from the last time a full backup was run. However transaction logs are completely different to the message tracking log so this does not matter to the retention period for the message tracking logs

Exchange 2007 Message Tracking (Part 1)
http://www.msexchange.org/tutorials/Exchange-2007-Message-Tracking-Part1.html
0
 
LVL 1

Author Comment

by:jjoz
ID: 24783130
Hi Mass,

thanks for the reply.

so, can i say that,
 Message tracking log is kept in Mailbox Server
 while the transport log is kept in Hub Transport Server ?

if there are single role per server.
0
 
LVL 29

Assisted Solution

by:mass2612
mass2612 earned 500 total points
ID: 24783478
What I would say in response to your message is this. There are many hops and routes involved in message delivery. At each point the message tracking log if enabled is written to at each hop. Therefore in a environment with multiple servers each running a single role then the message tracking log is written to on each server along the path.

Its best practice to have the HT and MBX MessageTrackingLogMaxAge parameter configured with the same value.
0
Too many email signature changes to deal with?

Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

 
LVL 1

Author Comment

by:jjoz
ID: 24783490
Yes, mine is on a single server deployment (HT-CAS-MBX) and both log is configured for 30 days.

OK, now it's all cleared that the cmdlets above is the statistic for a month worth of data no matter how long i set the -start parameter. CMIIW

Thanks.
0
 
LVL 29

Assisted Solution

by:mass2612
mass2612 earned 500 total points
ID: 24783596
No worries. Off topic from Message tracking but.... In case you need more info on transaction logs as well : -

Transaction Logs, The Lifeblood of Exchange
http://www.msexchange.org/articles/Transaction-Logs-Lifeblood-Exchange.html

Exchange 2007 Store Related Changes and Improvements
http://www.msexchange.org/tutorials/Exchange-2007-Store-Related-Changes-Improvements.html
0
 
LVL 1

Author Closing Comment

by:jjoz
ID: 31598628
thanks for the clarification !
0

Featured Post

Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Join & Write a Comment

Suggested Solutions

Resolve DNS query failed errors for Exchange
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now