20
Clint Wyckoff Global Technical Evangelist Veeam Backup for Microsoft Office 365 Installation and Configuration: Chapter 1

Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

  • Upload
    others

  • View
    112

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

Clint WyckoffGlobal Technical Evangelist

Veeam Backup for Microsoft Office 365 Installation and Configuration: Chapter 1

Page 2: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 2

Veeam Backup for Microsoft Office 365 Installation and Configuration

ContentsWhat is Office 365? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Why should you protect your Exchange online data? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Introduction to Veeam Backup for Microsoft Office 365 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Installing Veeam Backup for Microsoft Office 365 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Installing Veeam Explorer for Exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Changing the repository location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

Retention policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

Set up email notifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

Adding a Microsoft Office 365 organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Create your first backup! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

About the Author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

About Veeam Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Page 3: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 3

Veeam Backup for Microsoft Office 365 Installation and Configuration

What is Office 365?Office 365 groups together the Microsoft productivity software suite (Exchange Server, Skype for Business, SharePoint, OneDrive, Microsoft Office and others) into an offering that subscribers can purchase on a recurring subscription basis .

Why should you protect your Exchange online data?Office 365 includes access to cloud-hosted versions of Microsoft Office Server platforms like Exchange Server . Cloud-hosted Exchange, Exchange Online, provides the ability to have your mail services hosted within the Microsoft cloud, freeing IT from of having to worry about running, managing and maintaining user accounts, routing rules, anti-spam and anti-virus of this key communication service . Unfortunately protecting data in the cloud is often overlooked and taken for granted . When protection is investigated, there have been challenges posed due to the complexities that the native tools provide, leaving no good way to effectively protect this important data .

A partner recently shared that an incident occurred within one of their customers’ Office365 environments. This incident caused 300 users to lose all their emails in a matter of a few hours. Microsoft support notified the customer that they could not identify any issues and subsequently could not explain the mysterious omission of data from the logs that are used to troubleshoot issues within Office365. Other incidents include ransomware and the all too often administrator or user deletion.

As more environments continue to adopt cloud-hosted services, issues are beginning to occur more frequently . Regardless of who is at fault — the SaaS provider or an even an IT administration making an error — it is important to realize that the data within the cloud is in fact your data and it is your responsibility ensure its Availability and protection strategy .

This paper (and subsequent chapters) will detail the installation, configuration and recovery options included within the latest product from Veeam — Veeam Backup for Microsoft Office 365 (VBO365) .

Page 4: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 4

Veeam Backup for Microsoft Office 365 Installation and Configuration

Introduction to Veeam Backup for Microsoft Office 365VBO365 protects and stores your Microsoft Office 365 mailbox items to a backup repository allowing IT the ability to browse, search and restore these items . For example, IT can recover entire mailboxes, folders, messages, tasks and contacts from their VBO365 repository directly back to an Office 365 mailbox or to an on-premises Exchange mailbox via Veeam Explorer for Microsoft Exchange .

Figure 1: Example of restoring and viewing VBO365 with Veeam Explorer for Microsoft Exchange.

The protected mail items can be recovered and saved as a file, emailed as an attachment or exported to an Outlook Data File ( .PST) as well . When VBO365 is used in conjunction with Veeam Backup & Replication 9 .5 users can leverage the application-aware image processing engine within Backup & Replication to create consistent backups of their Office 365 mail archives, providing them with an enhanced and streamlined restore process from their Veeam Backup & Replication 9 .5 console . VBO365 also supports environments that have not fully migrated all their users to Office 365 .

One of the most important factors that CxO Executives should focus on within the cloud-era is risk mitigation . VBO365 allows IT the ability to comply with policies, requirements and regulations by supporting long-term retention, e-Discovery as well as the flexible restore options providing the risk mitigation executives demand .

RequirementsVBO365 is a standalone product that can be deployed on either a physical or virtual machine with at least 4GB RAM, one vCPU and a 64-bit version of Windows Server 2008 R2 SP1 or greater (Windows Server 2008 is NOT supported) .

If you are familiar with Veeam Backup & Replication you would know that the backup data is stored on a repository . As previously discussed, VBO365 protects and stores your Office 365 email data in an offline repository also allowing for the many different recovery options . An important concept to understand is that these repositories are two uniquely different things — VBO365 mail archives are NOT stored directly onto a Veeam Backup & Replication Repository . VBO365 will protect Office 365 email data to storage devices that are locally accessible via DAS, USB/eSATA (not advised) or to a SAN device via either iSCSI or Fibre Channel . Veeam recommends formatting these Windows-based disks with either NTFS or ReFS and NOT FAT32 . Alternatively, VBO365 supports storage shares that are reachable via SMB 3 .0 .

Page 5: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 5

Veeam Backup for Microsoft Office 365 Installation and Configuration

For a detailed list of the system requirements visit the Veeam Help Center: https://helpcenter .veeam .com/docs/vbo365/guide/vbo_systemreqs .html?ver=10

VBO365 requires an active Office 365 subscription to connect to the Exchange Online environment via the Exchange Web Services (EWS) API . The connection is established via an account belonging to the organization being protected . It is a best practice to create a separate Office 365 Admin Group and Service Account (svcExchange@AperatureLabs .biz) that contains the least privilege and is utilized specifically for this connection as opposed to using a Global Administrator account .

The service account requires the following permissions:

• Role Management role

• View-Only Configuration role

• View-Only Recipients role

• Application Impersonation

The service account that VBO365 utilizes can be created in several different ways:

1 . Exchange Admin Center within Office 365

2 . Exchange Management PowerShell cmdlets

Figure 2: Admin role creation within Office 365 Exchange admin center.

Pro tip! Create a separate service account for VBO365 to connect to your Office 365 Organization.

To create the Admin Role group as well as the Service Account the following PowerShell can be leveraged as an example and customized for usage .

############################################# ### Creating a Veeam O365 Service Account ### #############################################

# THE FOLLOWING SCRIPT IS TO BE UTILIZED AS AN EXAMPLE AND NO WARRANTIES OR

SUPPORT ARE PROVIDED # RUN PowerShell ISE as Administrator

Page 6: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 6

Veeam Backup for Microsoft Office 365 Installation and Configuration

#Gets your Office 365 Admin Credentials for authentication $credential = Get-Credential

#Connects to the MSOnline Service with the credentials provided Connect-MsolService -Credential $credential

#Imports the AzureAD Module which provides the MSOnline Module # https://docs.microsoft.com/en-us/powershell/azuread/v2/azureactivedirectory Import-Module AzureAD

#Imports the MSOnline PowerShell Module Import-Module MSOnline

#Imports the Exchange Online PowerShell cmdlets into the PowerShell session $exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange

-ConnectionUri “https://outlook.office365.com/powershell-liveid/” -Credential

$credential -Authentication “Basic” -AllowRedirection Import-PSSession $exchangeSession -DisableNameChecking -AllowClobber

#SVCAccount First Name Write-Host -ForegroundColor Yellow ‘Enter your Service Account First Name’ $FirstName = Read-Host

#SVCAccount Last Name Write-Host -ForegroundColor Yellow ‘Enter Your Service Account Last Name’ $LastName = Read-Host

#SVCAccount Account in Proper EMail Form Write-Host -ForegroundColor Yellow ‘Enter your Service Account UPN - ex - Veeam@

Veeam.com Format please’ $UPN = Read-Host

$DisplayName = $FirstName + “ “ + $LastName

#Super Secret Password shhhhhh... Write-Host -ForegroundColor Yellow ‘Enter your Service Account Password’ $Password = Read-Host

#Creates the New user and applies an O365 License New-MsolUser -DisplayName $DisplayName -FirstName $FirstName -LastName

$LastName -UserPrincipalName $UPN -Password $Password -LicenseAssignment

“ClintWyckoff:ENTERPRISEPACK” -UsageLocation US -UserType Member

-ForceChangePassword $false

#Creates the new role group with the proper VBO365 Permissions New-RoleGroup -Name $DisplayName -DisplayName $DisplayName -Roles

“ApplicationImpersonation”, “View-Only Recipients”, “View-Only Configuration”, “Role Management”

#Adds the user to the role group Add-RoleGroupMember $DisplayName -Member $UPN

Example 1: PowerShell to automate the creation of your VBO365 service account.

Page 7: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 7

Veeam Backup for Microsoft Office 365 Installation and Configuration

LicensingVBO365 is licensed the way Microsoft licenses Office 365 . The product is simply licensed on the actual amount of Microsoft Office 365 end-user mailboxes that you require protecting . An end-user mailbox is defined as either a personal mailbox, an Online Archive OR both . Just as Microsoft does not charge its Office 365 customers for shared or resource mailboxes – these shared or resource mailboxes can be protected with VBO365 without needing to be licensed .

In summary, VBO365 subscriptions are available for purchase based on the amount of end-user mailboxes that will be protected . These subscriptions are available in either one- or three-year annual subscriptions .

InstallationVBO365 is available as a standalone installation that will be installed on either a virtual or physical instance of Windows Server 2008 R2 SP1 or greater .

Figure 3

To download the latest version, visit the VBO365 product page at: https://www .veeam .com/backup-microsoft-office-365 .html

Within the downloaded .zip package are two different executable files:

• VeeamBackupOffice365_VERSION-NUMBER .msi

• VBO365 Application and UI

• VeeamExplorerForExchange_VERSION-NUMBER .msi

• Veeam Explorer for Exchange (VEX)

Page 8: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 8

Veeam Backup for Microsoft Office 365 Installation and Configuration

Installing Veeam Backup for Microsoft Office 365VBO365 can be deployed and implemented in a few different scenarios . With an environment where Veeam Backup & Replication 9 .5 AND VBO365 will be installed on the same Windows Server, only VeeamBackupOffice365_VERSION-NUMBER.msi needs to be installed . This scenario is not recommended for production usage . In this scenario, the Veeam Explorer for Microsoft Exchange bits are already present . The preferred deployment method will install VBO365 on its own dedicated server where both components would need to be installed .

Note! Visit the Veeam Help Center for a detailed list of requirements https://helpcenter .veeam .com/docs/vbo365/guide/vbo_systemreqs .html?ver=10

Installing both applications is simple regardless of the deployment scenario that fits your environment best . It is recommended to deploy VBO365 within a virtual machine as this deployment method gives the best and most flexible restore options available when integrated with Veeam Backup & Replication’s application-aware image processing engine .

Veeam Backup & Replication allows the quick and easy recovery of VMs via several different restore types . A few of these restore types are:

• Instant VM Recovery

• Entire VM Restore

• Individual VM file restore

• Virtual Disks restore

• Guest OS File Recovery

• Restoring Application Items

Note! Exploring backup archives using Veeam Explorer will be covered in a subsequent chapter.

Once the product is successfully installed browse to the desktop and locate the VBO365 icon – the first time the product is launched the license key must be provided — browse out to the appropriate location and apply the corresponding license key .

Figure 4: Applying the corresponding license file to VBO365.

Page 9: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 9

Veeam Backup for Microsoft Office 365 Installation and Configuration

Installing Veeam Explorer for ExchangeVeeam Explorer will be installed after the successful installation of VBO365, via VeeamExplorerForExchange_VERSION-NUMBER .msi within environments where VBO365 was installed without the presence of Veeam Backup & Replication .

Figure 5: Veeam Explorer installation wizard in environments without Veeam Backup & Replication.

Congratulations! With these steps completed VBO365 is now ready to complete its initial configuration and then it’s very first backup!

ConfigurationThe VBO365 user experience is quite simple, the ribbon bar along the top contains the common tasks like adding an Office 365 Organization, starting and stopping jobs, enabling or disabling jobs, editing a job, deleting a job or restoring mail items . Before an Office 365 Organization is added to the VBO365 console the repository location would need to be confirmed, retention policy and folder exclusions defined and mail notifications configured . These tasks are achieved by viewing the Options menu . All the settings within the Options menu are global and will be applied to all the jobs throughout the organization(s) that are added to VBO365 .

Page 10: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 10

Veeam Backup for Microsoft Office 365 Installation and Configuration

Figure 6: VBO365 Configuration menu within the UI.

Pro Tip! If VBO365 backup jobs exist, these jobs need to be DISABLED to change the global options.

Changing the repository locationWithin the Options menu, the ability to alter the repository location as well as define the retention and setup of the folder exclusions is available . VBO365 will protect Office 365 email data to storage devices that are locally accessible via DAS, USB/eSATA or to a SAN device via either iSCSI or Fibre Channel . Veeam recommends formatting these Windows-based disks with either NTFS or ReFS and NOT FAT32 due to space limitations . Alternatively, VBO365 supports storage shares that are reachable via SMB 3 .0 . The example below illustrates a Windows Server 2016 STD operating system with an E:\ that has been formatted with the Resilient File System (ReFS) . By default, VBO365 archives are stored within C:\VeeamRepository — the example below utilizes the ReFS volume — E:\VeeamRepository .

Page 11: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 11

Veeam Backup for Microsoft Office 365 Installation and Configuration

Figure 7: Configuring ReFS repository for VBO365 on Windows Server 2016.

Users of VBO365 might be familiar with how Veeam Backup & Replication stores restore points — VBK, VIB, VRB, etc . These are self-contained restore points of the systems protected . VBO365 stores its archives within the native Microsoft Jet Database Engine format, JET Blue .

Figure 8: VBO365 backup archives are stored in the native Microsoft Jet Database Engine format, JET Blue.

Since these archives are stored within an active database, JET Blue, when the archives are stored to a deduplication (DataDomain, ExaGrid, StorSimple, StoreOnce, etc .) appliance — zero data reduction will be achieved . Storing your VBO365 archives to one of these appliances would only be possible if the device supports SMB 3 .0 or the ability to attach as a remote device and format via Windows directly .

Testing tip! Present storage to vSphere as an NFS repository. Create a VMDK on the NFS datastore. Attach VMDK to Windows Server and format!

Page 12: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 12

Veeam Backup for Microsoft Office 365 Installation and Configuration

Retention policyWithin the options menu users can customize their global repository retention settings to match their business’ requirements . The Retain backups for setting defines the retention settings for all VBO365 backup jobs . The retention ranges from one year all the way up to 25 years and even forever . By default, VBO365 will keep archives on disk for three years . For example, if mail data within Exchange Online is five years old and the retention for VBO365 is set at the default three years, the items that are greater than three years old will NOT be protected . The mail archives kept on the repository will be obtained for three years as well .

Users can also define how frequently the retention settings are applied . For an item that expires the retention of the item will be removed based on the frequency set here . Users can specify either daily, weekly or monthly .

Note! All the settings within the Options menu are global! To change these settings the existing jobs must be in the disabled state.

Set up email notificationsHaving the peace of mind in knowing that your Office 365 mail data is being protected successfully is an additional piece of the risk mitigation that environments require . VBO365 will notify selected users about the success, warning or failure of backup jobs .

Figure 9: Configuring email notifications that will be sent upon job success, warnings or failures.

Page 13: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 13

Veeam Backup for Microsoft Office 365 Installation and Configuration

Adding a Microsoft Office 365 organizationPreviously within the requirements section of this paper the permissions required for VBO365 to connect to Office 365 were explained . This service account with the Management role, View-Only Configuration role, View-Only Recipients role and Application Impersonation enabled will be utilized to connect to Office 365 and perform backups .

Figure 10: Adding an Office 365 Organization to VBO365.

Within the Add Organization wizard supply the service account credentials to connect to your Office 365 Organization .

Figure 11: Supply the service account credentials as well as grant the impersonation role to the service account.

VBO365 can automatically grant the impersonation role to the service account if this was erroneously missed whenever the service account was created . The impersonation role will allow this service account to act on behalf of users when restore activities are initiated . This will allow mail items to be restored directly back to individual user mailboxes .

Page 14: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 14

Veeam Backup for Microsoft Office 365 Installation and Configuration

Upon successful connection to your Office 365 Organization, backup jobs will be able to be created as well as the subsequent restore activities .

Figure 12: VBO365 will verify the connection and organization settings and validate the service account has the correct Office 365 permissions.

Create your first backup!VBO365 connects to an Office 365 Organization to provide protection and Availability of your Exchange Online mailbox items to an offline repository allowing IT the ability to browse, search and restore these items . The granular restore options are made available via the backup jobs created . Backup jobs can be defined to cover and protect an entire Office 365 Organization or defined at an individual mailbox level .

Creating a backup job within VBO365 is achieved by clicking the Backup option within the ribbon bar inside the UI . The first time a backup job is executed the backup will contain all the items present within the mailbox if the items apply to the retention range at that given moment . For example, if the retention policy definition is set for three years, all items that are less than three years old will be protected . The items that are greater than three years will be skipped . In large sized environments, this initial backup could take a substantial amount of time dependent upon the amount of data as well as the speed of the WAN in which the data must traverse . Microsoft does employ throttling upon Office 365 and this would be apparent in high speed connections . To have these settings altered for an Office 365 Organization an administrator would open a support case .

Figure 13: Creating a VBO365 backup job to protect Office 365 email data.

Page 15: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 15

Veeam Backup for Microsoft Office 365 Installation and Configuration

If an administrator is interested in the amount of Exchange Online data within Office 365 this sample PowerShell can be run to return the results in .CSV format .

############################################################ ### Getting the size of your Office 365 Mail Environment ### ############################################################

# THE FOLLOWING SCRIPT IS TO BE UTILIZED AS AN EXAMPLE AND NO WARRANTIES OR

SUPPORT ARE PROVIDED # RUN PowerShell ISE as Administrator

#Gets your Office 365 Admin Credentials for authentication $credential = Get-Credential

#Connects to the MSOnline Service with the credentials provided Connect-MsolService -Credential $credential

#Imports the AzureAD Module which provides the MSOnline Module # https://docs.microsoft.com/en-us/powershell/azuread/v2/azureactivedirectory Import-Module AzureAD

#Imports the MSOnline PowerShell Module Import-Module MSOnline

#Imports the Exchange Online PowerShell cmdlets into the PowerShell session $exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange

-ConnectionUri “https://outlook.office365.com/powershell-liveid/” -Credential

$credential -Authentication “Basic” -AllowRedirection Import-PSSession $exchangeSession -DisableNameChecking -AllowClobber

#Gets a list of all mailboxes as well as formats in Table Format and places in

.CSV for offline examiniation

$Output = Get-Mailbox | Get-MailboxStatistics | Select-Object

displayname,MailboxTypeDetail,ItemCount,totalitemsize $Output | FT $Output | Export-Csv -Path C:\VeeamBackup\Report.csv

Example 2

Page 16: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 16

Veeam Backup for Microsoft Office 365 Installation and Configuration

The New Backup Job wizard provides the ability to backup all mailboxes within the Office 365 Organization or alternatively an administrator can selectively pick and choose which mailboxes to protect within each job that is being created . As you select end-user mailboxes these will be counted against your available license count . VBO365 also keeps track of mailboxes that were previously protected via managed mailboxes . Managed mailboxes are defined as mailboxes with at least one single restore point created in the last 31 days . If a mailbox is not protected after the 31 days, the license will be revoked and made available for usage .

Figure 14: VBO365 provides the ability to protect an entire Office 365 Organization or individual mailboxes.

Recovery Point Objectives (RPO) define how frequently something is protected . The last step within the New Backup Job wizard is to define the RPO or schedule that the previously selected mailboxes will be protected . This data is then stored within the repository on the VBO365 server or SMB 3 .0 share .

Figure 15: Set and define the schedule and frequency at which the job will protect the Office 365 mailboxes.

Page 17: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 17

Veeam Backup for Microsoft Office 365 Installation and Configuration

If configured and enabled, VBO365 will email job notifications based upon the settings defined within the Options menu .

Figure 16: Sample email notification report based upon an Organizational backup.

If email notifications are not configured administrators can view detailed job history reports natively within the VBO365 console .

Figure 17: Detailed job session history view within VBO365 UI.

Retrieving detailed job information is an easy task to achieve regardless of whether the requirement is email notifications or if troubleshooting within the VBO365 UI is desired .

Page 18: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 18

Veeam Backup for Microsoft Office 365 Installation and Configuration

ConclusionMore and more organizations of all shapes and sizes are continuing to adopt SaaS providers for many of their mission critical applications and services allowing the focus to remain on meeting the demands of the Always-On Enterprise . Veeam Backup for Microsoft Office 365 provides the ability to mitigate the risk of running the business mail functionality in the cloud by providing the ability to backup Office 365 email and browse, search and restore email items . IT can recover entire mailboxes, folders, messages, tasks and contacts from their VBO365 repository directly back to an Office 365 mailbox or to an on-premises Exchange mailbox via Veeam Explorer for Microsoft Exchange .

Page 19: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 19

Veeam Backup for Microsoft Office 365 Installation and Configuration

Clint Wyckoff is a Senior Technical Evangelist at Veeam with a focus on all things Microsoft . He is an avid technologist and virtualization fanatic with more than a decade of enterprise data center architecture experience . Clint is an energetic and engaging speaker and places a large emphasis on solving the real-world challenges IT professionals face . Additionally, he is a two time Microsoft Most Valuable Professional (MVP) for Cloud and Datacenter Management and a three-time VMware vExpert for 2015, 2016 and 2017 . Clint is a Cisco Champion, a Veeam Certified Engineer (VCME) and Microsoft Certified Professional (MCP) . You can follow Clint on Twitter @ClintWyckoff or @Veeam .

About the Author

About Veeam SoftwareVeeam® recognizes the new challenges companies across the globe face in enabling the Always-On Business™, a business that must operate 24 .7 .365 . To address this, Veeam has pioneered a new market of Availability for the Always-On Enterprise™ by helping organizations meet recovery time and point objectives (RTPO™) of < 15 minutes for all applications and data, through a fundamentally new kind of solution that delivers high-speed recovery, data loss avoidance, verified protection, leveraged data and complete visibility . Veeam Availability Suite™, which includes Veeam Backup & Replication™, leverages virtualization, storage, and cloud technologies that enable the modern data center to help organizations save time, mitigate risks, and dramatically reduce capital and operational costs .

Founded in 2006, Veeam currently has 49,000 ProPartners and more than 255,500 customers worldwide . Veeam‘s global headquarters are located in Baar, Switzerland, and the company has offices throughout the world . To learn more, visit http://www .veeam .com .

Page 20: Veeam Backup for Microsoft Office 365 Installation and Configuration ...€¦ · Veeam Backup for Microsoft Office 365 Installation and Configuration. Introduction to Veeam Backup

© 2017 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 20

Veeam Backup for Microsoft Office 365 Installation and Configuration