• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 561
  • Last Modified:

Messagetracking Log information in Exchange Server 2007 retention period

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
jjoz
Asked:
jjoz
  • 3
  • 3
3 Solutions
 
mass2612Commented:
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
 
jjozAuthor Commented:
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
 
mass2612Commented:
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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
jjozAuthor Commented:
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
 
mass2612Commented:
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
 
jjozAuthor Commented:
thanks for the clarification !
0

Featured Post

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!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now