Вы находитесь на странице: 1из 31

Exchange backup and restore via Netbackup 6.

5 Part-I
In the series articles of Exchange Backup and Restore we show you step by step configuration of taking the backup and restore of Microsoft Exchange MailBoxes and Microsoft Information Store via Veritas Netbackup 6.5. in part-I we show how do we take the backups of Microsoft Information Store and in other parts we will show you the restore activity. Exchange Backup of Information Store via Netbackup 6.5 Create policy

Policy Name

Policy Type

Select Storage Unit

Make Schedule so at that time the Backup of Exchange Information Store can triger Click on NEW to create Schedule

Write Schedule Name

Select the time and day on which the Backup will triger

Here the Schedule is created

Click on NEW for selecting the Exchange Server

Click on the Red highlighted button

Select your Exchange Server from the Network

Click on NEW to select the Exchange Information Store

Select the Microsoft Information Store

Here the Microsoft Information Store has been selected (Now the policy is ready to take the Backup of Exchange Information Store)

Exchange Server 2010 Backup of Databases and Restore to RDB


Created: 05 May 2011 Updated: 02 Jan 2012 | 18 comments Language Translations

Machine Translations

Deutsch Franais Espaol

Zahid.Haseeb Partner Accredited +6 6 Votes inShare0 Exchange Serve 2010 Backup of Databases and Restore to RDB

Today we are going to discuss the databases of Exchange 2010 HA Backup and Restore Activity. In this Activity we will discuss how to take the Backup of Exchange 2010 Databases and Restore in RDB in a Exchange 2010 HA scenario. In this discussion we will also try to cover the basic steps which required starting the Backup of Exchange2010 databases. The Steps will cover the Attributes, Clients and Backup Selections TAB in the NetBackup Policy for Exchange 2010.

Environment NetBackup Server = 7.1 OS of NetBackup Server = Win2008 R2 NetBackup Clients = 7.1 OS of NetBackup Clients = Win2008 R2 Clients product whichs backup will be perform = Exchange Server 2010 (two nodes) under HA

Exchange 2010 HA Details Exchange Server Node1 has a database (DB1) of let suppose 50Mailboxes.

Exchange Server Node2 has a database (DB2) of let suppose 50 other Mailboxes. Exchange Server node1 replicating its database to Exchange Server node2 (replicating not on/over node2 DB) Exchange Server node2 replicating its database to Exchange Server node1 (replicating not on/over node1 DB) See the below SNAP for reference of the Exchange2010 HA scenario in which both databases backup we will take via NetBackup Server.

Note: The above snap is just to show as an example so that all can understand what is the scenario. Imagine that each Exchange 2010 hosts one Database.

Exchange 2010 Backup Before going to start the Backup Activity stop the firewall on both Nodes of Exchange 2010 machines (Does not stop the firewall from the Administrative Tools=>Services. This will disconnect you machine from Network). See the below SNAP for your reference. Select the RED highlighted box and click on OK:

Note:

Open the below ports in case to keep the OS Firewall ON. or your Exchange 2010 Nodes are behind Network/etc Firewall. 13724(vnetd) 13782(bpcd)

1556(pbx) 13720(bprd)

Now let we start creating the Backup Policy for Exchange Databases. Open NetBackup Console=>Right Click on Policy=>New=>Policy Name=>Click OK and you will find a below window

Select Policy type as MS-Exchange-Server

Select Storage from Policy Storage Do not click on Enable Granular Recovery because you are not going to take the Granular Backup and its a simple Databases backup. Select the Perform Snapshot Backups check box Select one from the Databases Backup Source. Here you have three choices. We will throw light on each below Active Copy Only

NetBackup Server uses this option when NetBackup takes the backup of Database from the Active Database. The Active Database is the Active copy of Database not the replicated copy. We use this option when we may have single machine and there is no replicated copy or no replication scenario and the Exchange2010 is on single Node. Passive Copy Only NetBackup Server uses this option when NetBackup takes the backup of Database from the Passive Database. The Passive Database is the Passive copy of Database which is the replicated copy. Passive Copy and if not available the Active Copy NetBackup Server uses this option when NetBackup takes the backup of Database from the Passive Database and if for some reason the Passive Copy is not available the NetBackup will take the Backup from the Active Copy of Database.

Preferred Server List is the list of the Exchange 2010 Nodes which will participates in the Exchange 2010 backups through which the NetBackup takes the Backup.

The above things we discussed from the Attributes TAB of Exchange 2010 Policy and now we will move forward towards the Clients and Backup Selections TAB. The Schedule TAB is same as others so we will not discuss this in our conversation.

Clients TAB is use to approach the Exchange 2010 Servers from a single name. Here in the Clients TAB we define the virtual name of virtual DAG which itself pick the backups of databases of both databases. For example as the above first SNAP shows that DB1 and DB2 is on each Nodes of Exchange 2010. So what virtual DAG will does its the front for VERITAS NetBackup and all databases are behind the virtual DAG.

NetBackup asks the databases from the virtual DAG and it(virtual DAG connect the session with the databases) I hope this is enough to understand the Client TAB role in the Exchange 2010 Backup Policy. See the below SNAP for reference:

Backup Selections is the final step towards completion of Exchange 2010 Policy. From the backup Selections TAB we select the Directive for Exchange2010

The Backup Policy is ready to trigger. Start the VERITAS NetBackup Server Policy for Exchange which starts picking the Backup.

Exchange 2010 Restore Above we took two databases backup and now we do a Restore Activity of one Database from the Two databases Backup through which we will sure that our Backup was successful. There are multiple ways to Recover t he Exchange Server but it depends on what type of disaster

happened. So in the below Activity we will do the Recovery of Database to the Recovery Database RDB.. So now lets start the Exchange 2010 recovery of Database which backup we performed above. Starting the Recovery of Database Below are the steps which we will perform step by step to recover the Database. 1. 2. 3. 4. 5. 6. Create the RDB Throw some light on the command which issued in step # 1 Verify that the Database is created. Specify NetBackup Machine and Policy Type Select the Database which will be Restore Restore Mark Files

Create the RDB Create an RDB on which we will restore the Database backup. Make sure that when create the RDB the Exchange 2010 Node should be connected with physical name not via Virtual name if you are on a remote terminal. See the below SNAP for reference how to create the RDB:

Throw some light on the command which issued in step # 1 If you see the PRI- in the above SNAP this is the Server Name on which you are going to create the Recovery Database. The Server Name/Node Name should be the physical name of Node.

The "E" drive in the above SNAP is the Hard Disk Partition where the Database Backup will be Restore. The Recovery\RDB are the folders where the Recovery Databases resides.

Verify that the Database is created See the below SNAP which confirms you that the RDB is created.

Specify NetBackup Machine and Policy Type Exchange 2010 Node should be connected with physical name not via Virtual name if you are on a remote terminal. Open Backup, Archive and Restore and go to the Specify NetBackup Machine and Policy Type. Make sure that the Source Client for Restore should be virtual DAG name and the Destination Client for Restore should be the physical Exchange Node name on which you created the RDB

Select the Database which will be Restore In this step we will select the Database which you are going to restore. See the below SNAP for reference:.

Note: You may notice above that there are two DBs(DB1 and DB2) which backup we took in the above Backup Activity Restore Mark Files Before clicking the Start Restore button click on General TAB first and see the red highlighted DB1 name.

Make sure that you replaced the Database name. As the above example this DB1 name should be replaced with RDB which (RDB) we have created above. Now see the below SNAP for reference how it will look like after replacing the name of DB1 to RDB. Make sure the the PATH is as it is.

Now you can click on Start Restore so that the Restore will start. To verify for the initial errors put a check on the Verbose in the View Status windows as shown below. Note: But if you have a full and Differential backup need to restore and you want to restore one by one means first you want to restore Full then the Differential backup, so you have to un check the Commit After Last Backup Se is Restored check box from the Microsoft Exchange TAB when restore the Full backup and put the check when restore the Differential backup. For more/detail information see the below link too. http://www.symantec.com/business/support/index?pag...

Now here the Backup and Restore procedure has been completed. I hope the above procedure I tried to explain will be very helpful and detailed to start the Backup and Restore in a simple Exchange 2010 HA environment

How to configure Exchange Granular Backup


Today we are going to configure Exchange Granular Backup. Hope you all will enjoy this basic article to configure How to configure Exchange Granular Backup. In my environment i have Netbackup version = NBU 6.5.4 Netbackup OS = Win2003 R2 Exchange version = Exchange Server2003 Exchange OS = Win2003 R2

First create a policy for exchange (see this article to creates a policy to take the backup of exchange server https://www-secure.symantec.com/connect/articles/exchange-backup-andrestore-netbackup-65-part-i )to take the backup but make sure you must have selected the Granular backup check as shown in the below snap. Please follow the below link to meet the prerequesites for Mailbox backups of an Exchange 2000/2003 server via NBU Link http://seer.entsupport.symantec.com/docs/245184.htm Now you go to take the Exchange Granular Backup but verify that you are able to browse Mailboxes as below. You can do it by, go to NBU and take the properties of your NBU policy->Backup Selection tab--> New --> Remote folders --> then see the below window which verify that you are able to see the MailBoxes as the below snap shows .

When you verify the above procedure, which actually shows you the mailbox list

How to configure NetBackup for Mailbox backups of an Exchange 2000/2003 server


Modification: In addition to the creation of the Exchange mailbox policy on the master server, modifications need to be made on the Exchange server for successful mailbox backups. 1. Create a user account in Active Directory (Start | Programs | Administrative Tools | Active Directory Users and Computers) with an associated mailbox. The account must have Domain Administrator rights and a mailbox on the Exchange server (Figure 1). Figure 1

2. The account created in step 1 must have Exchange Full Administrator rights. To delegate control for this account, open Exchange System Manager (Start | Programs | Microsoft Exchange | System Manager). Right-click the Exchange Organization, and select Delegate Control from the menu. Add the account created in step 1, select the role Exchange Full Administrator rights (Figure 2), and finish the Delegation Wizard. Figure 2

3. Set the account created in step 1 as the account which starts the NetBackup Client Service. Go to Start | Programs | Administrative Tools | Services, find the NetBackup Client Service and select the Log On tab from the properties of the NetBackup Client Services to access this account (Figure 3). Change the account to use the account created in step 1. Note: The service account must have the NetBios Domain name followed by the user account.

Figure 3

4. Send an email to the account created in step 1. This initializes the account in Active Directory, and is necessary to allow backups to use the account. 5. Log on to the Exchange server using the account created in step 1. Go to Start | Run, type Regedit in the Run textbox and press <Enter>.

6. From the Registry Editor, go to HKEY_LOCAL_MACHINE\Software\Veritas\Netbackup\CurrentVersion\Config. Create a new string value EXCHANGE_MAILBOX (Figure 4). The data value for the new string will be the display name of the mailbox created in step 1. Figure 4

Figure 5 - Display Name of Mailbox (from Exchange System Manager)

7. Open the NetBackup Client. From the NetBackup client, click Select for Backup. Expand Microsoft Exchange Mailboxes. The NetBackup Client will enumerate the mailboxes on the client (this may take 2 -3 minutes if the client has more then a few hundred mailboxes (Figure 6). Figure 6

8. On the master NetBackup server, create a new mailbox class. The directive should read as follows: Microsoft Exchange Mailboxes:\. This directive will back up all mailboxes for this client.

Вам также может понравиться