Today, I needed to restore a mailbox from Exchange 2010 from NetBackup.
Here is the steps I did to get it done:
Create a Recovery Database
Add a storage to the exchange server (e.g. virtual disk to the VM)
Assign a drive letter to this newly created disk in the exchange server (e.g. Z: drive)
Create a folder for the recovery DB (e.g. Z:\Recovery)
Create a folder for the recovery log (e.g. Z:\Recovery\Log)
Run the PowerShell below to create a recovery DB:
New-MailboxDatabase -Recovery -Name recoveryDB -Server exc01 -EdbFilePath ”Z:\Recovery\Mailbox01.edb” -LogFolderPath “Z:\Recovery\Log”
I make the EDB file name exactly the same file name with the original EDB file
On the properties of the recoveryDB, make sure the "This database can be overwritten by a restore" is selected
Restore the Database Backup
From the Netbackup Console, Add the client: File - Specify NetBackup Machines and Policy Type...
Click on Edit Client List button
Add the client name
Source client for restores: exc01
Destination client for restores: exc01
Policy type for restores: MS-Exchange-Server
Select the date of the backup to be restored
Navigate to the Microsoft Information Store and select both database and log
Click the restore icon
On Microsoft Exchange tab:
Point-in-Time Recovery (Replay only restored log files)
Commit after last backup set is restored
On General tab:
Restore everything to a different location (maintaining existing structure)
Destination: Microsoft Exchange Database Availability Groups:\dag\Microsoft Information Store\RecoveryDB\
Note: Make sure the Destination is RecoveryDB
Click Start Restore
Mount the Database
Once the restore is completed, mount the RecoveryDB (if not mount automatically)
Create a Recovery Account
Create a recovery account for mailbox (target)
Run the PowerShell to restore the mailbox
Restore-Mailbox -Identity recoveryUser -RecoveryDatabase RecoveryDB -RecoveryMailbox sourceMailboxUser -TargetFolder Recovery