Trish Benningfield
asked on
Exchange 2010, change database path
Hello! One of my techs installed and configured SBS2011, and after setting up exchange, changed the drive letters around in disk management. Exchange 2011 doesn't like this and refuses to mount the data as it believes its located on e:\... but doesn't let me edit the location to the database in properties. I've tried the "move database" as well and it fails. Thanks for the advice!
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
@tgtran
How $True! :P I Missed that one :D
How $True! :P I Missed that one :D
Move-DatabasePath -Identity "Database Name" -EdbFilePath "Z:\NewFolder\MyDatabase.e db" -ConfigurationOnly:$True
You NEED the $True parameter or it tries to MOVE the database and yours has already moved
ASKER
Nellsr, thanks, I forgot to mention I had no additional drives to duplicate the structure. :-) Thanks tgtran, worked like a champ!
2) create the same file structure on your current E: drive, move the files to that drive and THEN do a database move as normal to put back on the drive your tech renamed.