Using Veeam backup for Microsoft Office 365 to backup your Exchange Online mailboxes, Sharepoint or OneDrive data to a QNAP NAS requires specific configuration.
Out of the box Veeam backup for Microsoft Office 365 supports the following repository types:
- Local storage of the backup server.
- Direct Attached Storage (DAS) connected to the backup server (external USB/eSATA drives and RDM volumes).
- Storage Area Network (SAN).
- SMB 3.0 share (experimental support). Server’s computer account must have write permissions on the network share.
It is the SMB 3.0 Share which you can use to backup to a QNAP NAS. It is mandatory that Veeam for O365 backup runs on a Windows OS supporting SMB 3.0. For this to work you need to configure the following on your QNAP device:
In Control Panel => Network & File Services => Win/Mac/NFS => Microsoft Networking => Advanced options, set Highest and Lowest SMB version to respectively SMB3 and SMB 2.1
Next you have join your QNAP NAS to your local domain
Once joined to the domain, open Active Directory Users and Computers on a Domain Controller, create a Group which contains the ‘Computer Account which has the Veeam Backup for O365 installed‘ and the ‘Service Account under which the Veeam Backup for O365 services run‘. You can add any other account you deem necessary of course.
Next Enable Advanced Folder Permissions on your QNAP. In Control Panel => Privileges => Shared Folders => Advanced Permissions => select Enable Advanced Folder Permissions.
Next add both the Domain Group you created before and the Domain Computer Account and give them ‘Read/Write’ permissions on the share you’ll use to backup. You do this in Control Panel => Privileges => Shared Folders => Shared Folder => Select your Folder Name and edit shared Folder Permissions.
On the server which hosts the Veeam Backup for Microsoft Office 365 software you’ll create a junction to the QNAP Share you’ve created. For this, open a command prompt and execute the following (adjust to your situation):
"mklink /d D:\ExchangeOnline \\Qnap-nas\ExchangeOnline"
When you create a new Backup Repository, you can now browse to the local folder (a junction to your QNAP NAS) and select it for backing up to your QNAP NAS