Create the RSG in the Exchange server

menguin

Geek
Pinoy Techie
Create the RSG in the Exchange server
  1. Open the EMC (Exchange Management Console), from the Toolbox node, click on the Database Recovery Management:
  1. Type the name of your Exchange server and Domain Controller server name and then click Next at the bottom of the screen:
  1. From the Tasks options, choose Manage Recovery Storage Group and then click on the Create a Recovery Storage Group:
  1. Select the Storage Group that you want to restore from and click Next:
  1. Choose the location of the original SG files (DB + Logs).
  1. Finish the RSG creation.
  1. Verify that the RSG was created using the Exchange Management Shell (MSH): Get-Mailbox Database
Restore the relevant items / mailbox – Using GUI
  1. Restore the database : It will get stored in the recovery storage group
  2. After the restore completed successfully, click the Merge or copy mailbox contents from the Manage Recovery Storage Group:
  3. In the mounted Database in the RSG that you restored, click Gather Merge information
  4. The next screen gives you the ability to restore the whole mailbox or all the items in the mailbox from the backup in a simple way by clicking the Perform pre-merge tasks:
  5. If you want to filter the items that you want to restore, like items from a specific range of dates, restore the items with a specific subject from all mailboxes to a specific mailbox – you should select the Show advanced Options:
  6. We can see all the folders that were created
Optional: Restore the relevant items / mailbox – Using MSH

The alternative way to restore items from specific dates, specific subjects and from user's mailboxes, is using the Exchange Management Shell (MSH). In the following examples, I will demonstrate how to restore items that were deleted from the Administrator's mailbox.

Example 1:

The Goal:

Restore items (all items in mailbox) from Administrator mailbox in RSG back to the live mailbox, under the Restore folder:

From the command shell

[PS] C:\>restore-mailbox -RSGMailbox 'Administrator' -RSGDatabase 'Recovery Storage Group\Mailbox Database' -id 'Administrator' -TargetFolder ‘Restore’

Note: Any mailbox that is restored from RSG can be restored to any mailbox on the production Database. In this case, instead of restoring the data to back to the Administrator's mailbox, we can restore it to Tkolber's mailbox, by running the next command:

[PS] C:\>restore-mailbox -RSGMailbox 'Administrator' -RSGDatabase 'Recovery Storage Group\Mailbox Database' -id 'Tkolber' -TargetFolder ‘Restore’


Example 2:

The Goal:
Restore items from Administrator mailbox in RSG, from January 15th to February 27th, back to the live mailbox, under the Date_Range_Jan15th to Feb27th folder:
  • In this process, we MUST configure a target folder, but if you didn't write it in the command, you are asked to fill the target folder's name.
  • The dates should be written as the following syntax: MM/DD/YY.
The Command:

[PS] C:\>restore-mailbox -RSGMailbox 'Administrator' -RSGDatabase 'Recovery Storage Group\Mailbox Database' -id 'Administrator' -TargetFolder 'Date_Range_Jan15th to Feb27th' -StartDate '01/15/07' -EndDate '02/27/07'


Example 3:

The Goal:

Restore all mailbox content from Administrator's mailbox in RSG, back to the live mailbox:

The Command:

[PS] C:\>restore-mailbox -id 'Administrator' -RSGDatabase 'Recovery Storage Group\Mailbox Database'


Dismount and remove the RSG

After you complete the restore from RSG, you should dismount the RSG, the main reason to do it is to enable the production DB (any live DB) restore.
  1. Open the EMC (Exchange Management Console), from the Toolbox node, click on the Database Recovery Management:
  2. Type the name of your Exchange server and Domain Controller server name and then click Next at the bottom of the screen:
  3. From the Tasks options, choose Manage Recovery Storage Group and then click on the Mount or Dismount Database in the Recovery Storage Group:
  4. Now select the Database that you want to dismount, mark it with V and click on Dismount Selected database
  5. After dismounting the database, you will get a report with a result of the process
  6. Repeat steps 1 and 2 in this paragraph and from the tasks options, click on Remove the Recovery Storage Group
  7. Click the Remove the Recovery Storage Group option again:
  8. After removing the RSG, you will get a report with a result of the process
  9. you want to verify from the Exchange Management Shell, that the RSG was removed, you can type the command: Get-MailboxDatabase –Status
 

Similar threads


Latest posts

Top Bottom