Saturday, September 11, 2010

How do I change the location of Exchange 2010 log files

In Exchange 2007 log files were configured on the storage group. In Exchange 2010 storage groups no longer exist!

So how do you change the location for your transaction logs?

Well this is now done with the Move-DatabasePath cmdlet. As per Exchange 2007 this command is also used to change the location of the mailbox database as well!

Move-DatabasePath -Identity [-ConfigurationOnly ] [-Confirm []] [-DomainController ] [-EdbFilePath ] [-Force ] [-LogFolderPath ] [-WhatIf []]

1 comment:

  1. Should the database be unmounted prior or will the cmdlet unmount and remount the database after the log move

    ReplyDelete