Você está na página 1de 90

AVAMAR 7.

1 EXCHANGE 2013
DAG BACKUP AND RECOVERY

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Table of Contents
vLab Environment Overview ......................................................................................................................... 3
vLab Backup Environment Overview ................................................................................................................4
vApp Environment Login Details .......................................................................................................................5
Demo Environment Layout ...............................................................................................................................6

vLab Backup and Recovery Demo Scenarios ................................................................................................. 8


Setting up demo environment ..........................................................................................................................9
Exercise #1 : Login into Avamar GUI and execute pre-defined backup policy...................................................21
Exercise #2 : Perform Exchange Granular Level Restore of individual email messages from full database
backup to the original mailbox .......................................................................................................................30
Exercise #3 : Perform Exchange Granular Level Restore of individual email messages from full database
backup to a diffrent mailbox...........................................................................................................................55
Exercise #4 : Perform Exchange Database restore to RDB...............................................................................75

Troubleshooting ......................................................................................................................................... 83
Granular Recovery Not Working ......................................................................................................................84
Mailbox Databases not mounted....................................................................................................................88

Summary and Conclusions ......................................................................................................................... 89


Summary .......................................................................................................................................................90

vLab Environment Overview

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 3

vLab Backup Environment Overview


This vLab contains single node Avamar server (Avamar Virtual Edition) as well as virtual Data Domain
appliance. These appliances will be used to perform backup and restore tasks using Avamar Software
functionality.
Certain configuration tasks may be required during the course of this exercise in order to access the
resources involved.
The environment consists of 4 Exchange 2013 Servers. EX2013-1, EX2013-2 and EX2013-3 are DAG
members. The EX2013-W is a witness server that is used as a cluster resource for the DAG. They each have
databases that are actively mounted on each server respectively, plus passive copies that are hosted on the
other members. In this vLab you will backup all passive databases using the Avamar Exchange Federation
feature, then restore them using the Avamar Management Console. You will also restore granular items all
the way into the mailboxes to show how efficient the GLR feature can make it for a Backup Administrator.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 4

vApp Environment Login Details


Here is the list of systems and credentials associated with this vLab:

Login Credentials

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 5

Demo Environment Layout


This demo environment consists of three MS Exchange 2013 servers in DAG configuration.
Server names are EX2013-1, EX2013-2, EX2013-3.
Each server has 6 mailbox databases DBEX13-[1-3]DB[1-6], default active-passive database copy allocation
between servers is the following:
DBEX13-1DB[1-6] - active on EX2013-1, passive copies on EX2013-2 and EX2013-3
DBEX13-2DB[1-6] - active on EX2013-2, passive copies on EX2013-1 and EX2013-3
DBEX13-3DB[1-6] - active on EX2013-3, no passive copies on other servers
This layout allows to use EX2013-3 as a standalone server with no replica DB copies and at the same time all
three servers EX2013-[1-3] can be used to demonstrate federated backup scenarios

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 6

Avamar Exchange 2013 DAG Environment Topology

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 7

vLab Backup and Recovery Demo


Scenarios

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 8

Setting up demo environment


During the course of these demo exercises we will be using Avamar Administrator application, Outlook Web
App and RDP session to Exchange server.
Steps below describe how to properly setup and navigate these management tools.

Avamar Administrator
Connect to Avamar Enterprise Manager
1. Start Chrome web browser
2. In the address bar type http://ave-03.brsvlab.local/em

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 9

Accept security warning


1. Click Advanced.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 10

Accept security warning


1. Click Proceed to ave-03.brsvlab.local. Avamar web service is using self signed certificate and this is why this
warning appears.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 11

Avamar Enterprise Manager login page


1. Click Login

Launch Avamar Administrator


1. Select Administrator
2. Type "/" in Domain Name
3. Click Launch

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 12

Log on into Avamar Administrator


1. Provide password "MCUser1"
2. Click Log On

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 13

Explore Avamar Administrator dashboard


In these lab exercises we will be working with several management windows
1. Policy
2. Backup and Restore
3. Activity
Familiarize yourself with interface layouts by clicking on the tabs

Outlook Web App


Sign-in to Outlook Web App - accept security warning
1. Open the Chrome browser.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 14

2. go to https://ex2013-1.brsvlab.local/owa/
3. click Advanced.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 15

Sign-in to Outlook Web App - Proceed to Outlook


1. click on proceed to ex2013-1.brsvlab.local

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 16

Sign-in to Outlook Web App


1. sign in with username "brsvlab\Ex13User22"
2. password "P@ssword1!"
3. click sign in

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 17

Note content of user mailbox and folders structure

RDP session to Exchange server

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 18

Establish RDP session to Exchange Server


1. Click on mRemoteNG shortcut
2. In the Connections tab select ex2013-1 and double click

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 19

Check status of Exchange databases


1. Start Exchange Management Shell
2. Execute command "Get-MailboxDatabase -Status | ft mounted, mountedonserver,name"
3. Note Mounted state of databases

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 20

Exercise #1 : Login into Avamar GUI and execute pre-defined backup


policy
Go to policy administration window

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 21

Select and review pre-configured backup group


1. Select clients domain
2. Select Exchange DAG Backup Group
3. Click Edit

Group name
1. Click on Group Properties Tab

Assigned Dataset
1. Click on Dataset Tab
2. Click on down arrow

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 22

3. Please note custom Dataset created and assigned to the group

Group Members
1. Click on Members Tab
2. Please note that Group has only one cluster client assigned, but this client is performing backups for all
databases in Exchange DAG across multiple Exchange Mailbox Servers

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 23

Close Edit Group window


1. Click on Cancel button to close Edit Group window

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 24

Execute backup for pre-configured backup group


1. Make sure that Exchange DAG Federated Backup Group is still selected
2. Click on Run button to execute on-demand backup job

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 25

Observe backup job initiated


1. Click on Close button

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 26

Switch to Activity window


1. Jump to Activity Monitor window by selecting shortcut button at the bottom left

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 27

Observe backup progress in the Activity Monitor


Please note backup initiated for cluster client and backup target being DataDomain device

Wait for backup to complete


Please note "Completed" status, "Elapsed" backup time and size of FULL backup of all Exchange databases in DAG

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 28

[ OPTIONAL ] Review backup session log


1. Select completed job and "Right Click"
2. Select View Session Log to view detailed backup session information if needed

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 29

Exercise #2 : Perform Exchange Granular Level Restore of individual


email messages from full database backup to the original mailbox
This exercise will demonstrate how to recover selected email messages back to the original user mailbox
from full database backup executed in Exercise #1.
We will be recovering email items for the user Ex13User22@brsvlab.local back to original user mailbox.

Login into Outlook Web App and remove selected email message
Connect to Outlook Web App using Chrome browser
1. https://ex2013-1/owa/
2. Sign in using "brsvlab\Ex13User22" as username and "P@ssword1!" as password

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 30

Verify existence of two email messages in the user inbox and then delete them
1. Select Inbox in the folder view
2. Select two email messages
3. Delete selected messages by Right Click context menu or use DELETE button in the right pane

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 31

Observe empty user Inbox and note folder structure

Locate mailbox database that is hosting user's mailbox


This step can be skipped if database name is already known or provided by messaging administrator.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 32

Using mRemoteNG shortcut on your desktop establish RDP connection to ex2013-1

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 33

Login into Exchange Admin Center


1. Click on IE shortcut
2. Select Exchange Admin Center tab in the IE
3. Login using "brsvlab\exsvc13" as user and "P@ssword1!" as password

Setting up search window


1.
2.
3.
4.

Select recipients
Select mailboxes
If DATABASE column is not showing add this column to the view.
Add DATABASE column if necessary

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 34

NOTE: You may see a webapp error pop up. Click OK, it is harmless.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 35

Open the Search Window


1. Click on the magnifying Icon to open the search window.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 36

Searching by mail user name


1. Use search field and type "Ex13User22"
2. Click on magnifying glass icon

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 37

Take a note of DATABASE name for the user mailbox

Execute GLR recovery from recent backup NOTE: If you do not accomplish a recovery in this
step, the clean up process will not remove the Mailbox Database recovery database _rdb.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 38

Return to Avamar Activity Monitor and note end time of most recent backup

Using shortcut at the bottom left jump to Backup, Restore and Manage window

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 39

Verify that most recent backup exists


1.
2.
3.
4.
5.
6.

Select client domain


Select cluster client
Select Restore Tab
Select backup date
Select backup image that has time of backup executed in the Exercise #1
Take a note of backup number, we will be using this backup image in following exercises

Browse destination to client


1.
2.
3.
4.

Select backup image


In the bottom pane select GLR icon
Select Restore to different location
Click Browse

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 40

5. In the browse window select ex2013-3 host. Only one host is visible because only this host has GLR plug-in
installed
6. Click OK
7. Click OK

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 41

Provide credentials for the restore operation


1. If prompted
prompted, enter Credentials for the restore operation. Username: BRSVLAB\avamarbackupuser Password:
P@ssword1!
2. Click OK.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 42

Wait for browse process to complete and select database with user mailbox
1. Select DBEX13-1DB1 database by clicking "+" next to it. NOTE: This is the database you confirmed that the
user mailbox existed on.
2. Click OK

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 43

Wait for the database to be mounted to RDB via AvFS


This mount operation may take some time to complete, wait time between 1 and 2 minutes is expected behavior.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 44

Observe content of database being displayed including user mailbox


1. Observe content of database being displayed
2. Click "+" sign next to the Ex13User22 mailbox

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 45

Wait for content of mailbox to be retrieved

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 46

Observe content of user mailbox being displayed


1. Observe content of user mailbox being displayed
2. Click on "+" sign next to Inbox folded to retrieve content of this folder

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 47

Select items to recover


1. Select both email messages in the user inbox
2. Go to Actions
3. Select Restore Now

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 48

Select restore options and execute restore


1. Select More Options button.
2. Enter the credentials for the Exchange Administrator. Username: BRSVLAB\AvamarBackupUser Password:
P@ssword1!
3. Click OK in the More Options window.
4. Click OK in the Options window.
5. Jump to the Activity Monitor using shortcut button on the bottom left

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 49

Wait for restore to complete


1. Observe completed restore job in the Activity Monitor

Login into Outlook Web App and verify that email messages were recovered

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 50

Sign in back to Outlook Web App of you have to. Otherwise, you may need to refresh the view
to see the recovered items folder.
Sign in using "brsvlab\Ex13User22" as username and "P@ssword1!" as password

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 51

Observe recovered email items


1. Click refresh button
2. Note that Inbox is still empty but there is new "Recovered Items" folder created with time stamp of recovery.
This is by design to allow user to quickly locate recovered items.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 52

Browse recovered email messages and move them back to Inbox


1. Expand Recovered Items folder (you may need to refresh a minute or two later as the database content
refreshes)
2. Select both email messages
3. Select MOVE to Inbox

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 53

Observer email recovered email item back in the user Inbox


1. All email items were recovered and available in user Inbox
2. Recovered Items folder now can be deleted if need be

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 54

Exercise #3 : Perform Exchange Granular Level Restore of individual


email messages from full database backup to a diffrent mailbox
This exercise will demonstrate how to recover selected email messages to a diffrent user mailbox from full
database backup executed in Exercise #1.
We will be recovering email items from user Ex13User22
User22@brsvlab.local mailbox to
Ex13User12
User12@brsvlab.local mailbox.
This is scenario applicable in certain cases when employee already left company or for audit purpose.
Please note that if you did not accomplish a recovery in Exercise #2, the clean up process has not ran and
you will have a mounted mailbox recovery database. Please accomplish the restore and allow time for the
clean up process to complete.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 55

Login into Outlook Web App and take a note of folders structure and Inbox content
Connect to Outlook Web App using Chrome browser
1. https://ex2013-1.brsvlab.local/owa/
2. Sing in using "brsvlab\Ex13User12" as username and "P@ssword1!" as password

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 56

Take a note of existing folder structure and content of Inbox


1. Select Inbox in the folder view
2. Take a note of existing folder structure and content of Inbox

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 57

Locate source mailbox database that is hosting user's mailbox from where we will be
recovering email messages
This step can be skipped if database name is already known or provided by messaging administrator.
In addition, if student is performing lab exercises in the sequential order it should be already determined that source
mailbox database name for the Ex13User22 is DBX13-1DB1 database.
Please proceed to the next step or refer to the earlier exercise for details.

Execute GLR recovery from selected backup

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 58

Return to Backup, Restore and Manage window and select available backup
1.
2.
3.
4.
5.

Select client domain


Select cluster client
Select Restore Tab
Select backup date
Select backup image

Browse destination to client


1.
2.
3.
4.

Select backup image


In the bottom pane select GLR icon
Select Restore to different location and then click Browse button
In the browse window select ex2013-3 host. Only one host is visible because only this host has GLR plug-in
installed

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 59

5. Click OK
6. Click OK

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 60

Wait for browse process to complete and select database with user mailbox
1. Select radio button next to database identified in previous steps, in this exercise we using DBX13-1DB1
database
2. Click on the "+" sign next to selected database name
3. Click OK

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 61

Wait for the database to be mounted to RDB via AvFS


This mount operation may take some time to complete, wait time between 1 and 2 minutes is expected behavior.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 62

Observe content of database being displayed including user mailbox


1. Observe content of database being displayed
2. Click "+" sign next to the Ex13User22 mailbox

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 63

Wait for content of mailbox to be retrieved

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 64

Observe content of user mailbox being displayed


1. Observe content of user mailbox being displayed
2. Click on "+" next to Inbox folded to retrieve content of this folder

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 65

Select items to recover


1. Select both email messages in the user inbox
2. Go to Actions
3. Select Restore Now

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 66

Select More Options

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 67

Specify Target user mailbox address in More options window, in this exercise we using
Ex13User12@brsvlab.local
1. In the Target mailbox address field type full address "Ex13User12@brsvlab.local"
2. Click OK

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 68

Initiate redirected restore by clicking OK in the restore option window

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 69

Close restore request


1. Close restore request window
2. Jump to the activity monitor window using shortcut on bottom left

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 70

Wait for restore to complete


1. Observe completed restore job in the Activity Monitor

Login into Outlook Web App and verify that email messages were recovered

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 71

Sign in back to Outlook Web App of you have to. Otherwise, you may need to refresh the view
to see the recovered items folder.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 72

Observe recovered folder with email items


Note that content of Inbox is still unchanged but there is new "Recovered Items" folder created with time stamp of
recovery. This is by design to allow user to quickly locate recovered items.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 73

Observe email items recovered


1. Expand Recovered Items folder
2. Note username and content of this user Inbox

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 74

Exercise #4 : Perform Exchange Database restore to RDB


Locate backup image to restore from using Avamar Backup, Restore and Manage window
In this exercise we will be using backup image created in Exercise #1

Perform restore of selected database to RDB


In this exercise we will be using database DBEX13-2DB2

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 75

Expand Exchange Information Store


1. Select Image Lever Recovery Icon
2. Expand object in the left lower pane using "+" sign

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 76

Select database and initiate restore


1. Select DBEX13-2DB2 database in the bottom right pane
2. Go ot Actions
3. Select Restore Now

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 77

Select ex2013-3 server as destination client


1. Click Browse in Restore Options window
2. Select ex2013-3 as destination client. The reason why we select server #3 in the DAG is because this server
has Avamar GLR plug-in already installed and we will use it in the later exercise
3. Click OK
4. Click More Options

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 78

Restore options selection


1.
2.
3.
4.
5.

Select mount database check box


Select restore to RDB and Overwrite existing check boxes
In the RDB database path type N:\db
In the RDB log path type N:\logs
Click OK

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 79

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 80

Initiate restore and close restore request pop up window


1. Click OK to initiate restore and close restore request pop up window

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 81

Go back to Activity Monitor window and wait for the restore of database to complete

Verify RDB creation


1. Go to Exchange Management Shell on any of Exchange Servers in mRemoteNG sessions
2. Execute "Get-MailboxDatabase -Status | ft mounted, mountedonserver,name" command in the shell
3. Observe RDB mounted on ex2013-3 server

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 82

Troubleshooting

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 83

Granular Recovery Not Working


In some cases the Granular Recovery will return no item present in folder

Browse Backup Status returns "No items present in the folder"

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 84

To correct this error do the following


On ex2013-3:
1. From the exchange powershell run get-mailboxdatabase status | ft mounted,mountedonserver,name.
2. Look for the mailbox database ending in _rdb.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 85

Dismount the recovery database if it is mounted.


1. If mounted = true
2. dismount-database Identity DBEX13-1DB1_rdb
3. Press enter to take default "Y" to dismount the database

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 86

Remove the recovery database


1. Remove-mailboxdatabase Identity DBEX13-2DB1_rdb.
2. Press Enter to accept the default "Y" to remove the recovery mailbox database. Do not remove files.
3. Run another backup of the Exchange environment. Use that backup for restore.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 87

Mailbox Databases not mounted


In the event Mailbox Databases are not mounted.

Mounting Mailbox Databases


1. Open an Exchange PowerShell prompt.
2. type in the command 'Get-MailBoxDatabase | mount-database.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 88

Summary and Conclusions

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 89

Summary
Avamar Exchange 2013 DAG Backup and Recovery
Using Avamar for Exchange data protection provides users simple backup and recovery options that address many
layers of backup and recovery requirements.
From entire database recoveries to RDB or directly to the active database, down to restoring a single mail item, Avamar
Delivers administrators the flexibility required to sustain business operations for Exchange.
Please review the Avamar Exchange VSS User Guide for more information and plugin options.

Avamar 7.1 Exchange 2013 DAG Backup and Recovery

Page 90