We had to install a clean SBS 2011 OS on a Server and start over- all data was copied from the previous (same hardware). However, when I attempt to Move Mailbox Database Path in Exchange to what was their existing Mailbox Database, I get the following Failed message:
Error:
The .edb file path is not available. There is already a file named 'C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database Folder\Mailbox Database.edb' in the file system on server
Parameter name: EdbFilePath
Any help for the appropriate process and order of dismounting the current database and moving to the backed up database file is appreciated. Need to get mailbox data restored after a clean Windows load.
Exchange
Last Comment
David Roberts
8/22/2022 - Mon
Nick Rhode
Probably because you put the same database back its place. Check the file path. Is the old database there?
4. Once the database is in clean shutdown state, rename the original database file to “RecoverDB.edb”.
NOTE: Don’t copy the logs since ESEUTIL /R replayed them into the EDB and the database does not require any more logs to make it clean shutdown.
5. Use the Exchange management Shell to create a recovery database.
This example creates the Recovery Store “RecoverDB” on the server MSXGuru-Exch using the defined path for the database file and transaction logs folder.
Important: If you have EMC Console open, you will need to restart it to see the newly created Recovery mailbox Store “RecoverDB“ under the Organization Configuration–> Mailbox –>Database Management and its state will be dismounted.
6. Now Right click on the newly created recovery Store and mount it.
7. Now open Shell and type the command as shown:
Get-MailboxStatistics -Database RecoverDB
This will show the list of mailboxes in that database.
8. This is the cmdlet to recover entire mailbox content for the mailbox UserA
10. This is the cmdlet to restore all mailboxes in the database mbx1 which are also present in the RecoverDB database. For every mailbox it will ask you to confirm the action, we do have an option “Yes to All”
******************************************************************
I GET TO STEP 5. AND EXCHANGE MANAGEMENT SHELL WILL NOT TAKE THE COMMAND. I HAVE CONFIRMED THE COMMAND TO BE CORRECT IN ACCORDANCE WITH MY DATABASE AND LOGS LOCATION:
This is what I entered in Exchange Management Shell for Step 5 as it applies to this environment: