Description
This article includes steps to configure SharePoint backups with Granular Recovery Technology (GRT).- Confirm that you meet the compatibility, storage, and other requirements
- Configuring the NetBackup services with the required log on account
- Configuring the log on account for the SharePoint Server in SharePoint Host Properties
- Mapping the SharePoint Central Administration server with the SQL Server back-end servers
Requirements for and limitations of SharePoint backups and restores with GRT
- You have a media server platform that supports GRT. See the Software Compatibility List.
- You have a supported SharePoint Server configuration. See the Database and Application Agent Compatibility List.
- For limitations of SharePoint backups and restores with GRT, see the NetBackup for SharePoint Administrator's Guide.
- NetBackup for SharePoint supports the following disk storage units.
- Basic Disk. The disk must be locally attached.
- Advanced Disk. The disk must be locally attached.
- PDDO/MSDP. To achieve optimal backup performance on a PureDisk/MSDP configured storage unit, the default fragment size should be decreased to a size of 15GB.
- Approved OST devices. See the hardware compatibility list. To achieve optimal backup performance on an OST-configured storage unit, the default fragment size should be decreased to a size of 10GB.
- Create a beds directory under install_path\veritas\netbackup\logs on each server in the SharePoint farm (including SQL Server).
Configuring the NetBackup Services
All SharePoint servers (front-end, index, central administration servers) and the SQL back-end servers must have the same permissions. For more details on how to configure these settings, see the NetBackup for SharePoint Administrator's Guide.- For SharePoint 2013 and earlier, the NetBackup Client Service and NetBackup Legacy Network Service and must log on with an account that has local administrator and SharePoint farm administrator privileges. For SharePoint 2016, the services must log on with the Local System account.
In Windows Services, configure the properties for the service for the host(s) where the Index Files or Index database(s) and where the document libraries reside. For any backups that use Granular Recovery Technology (GRT), configure this service on all SQL back-end servers.
Configuring the account that logs on to SharePoint in the SharePoint Host Properties
The SharePoint account must have the following rights on the servers where the SharePoint components are installed: Local administrative privileges and site collection administration rights. The account must be a SharePoint farm administrator account.- In the NetBackup Administration Console expand Host Properties > Clients.
- Select the SharePoint client that you want to configure.
If a server is not listed in the clients, select Actions > Configure Clients.
- In the properties of each client, expand Windows Client and select SharePoint.
- Add the SharePoint account (DOMAIN\username) and password.
Configure the SharePoint host properties for all servers in the SharePoint farm, as well as SQL Servers. If SQL Server is clustered, you must configure the clustered name as well as the node names.
- On each SharePoint server in the farm you must assign certain local security privileges. In the User Rights Assignment, add the SharePoint account to the following policies:
- Allow log on locally
- Debug Programs
- Log on as a Service
- Replace a process level token
Mapping the SharePoint Central Administration server with the SQL back-end servers
- Expand Host Properties > Master Server and open the properties of the master server.
- Select Distributed Application Restore Mapping.
- Specify the name of the Sharepoint server in the backup policy as the application host (either a front-end Web server or the Central Admininistration Server.
- Specify the name of the SQL Server as the component host
If SQL is clustered, you will need entries for the SQL cluster name and each node.
In the following example, sharepoint is the name of the front-end web server, cluster is the name of the SQL Server cluster, and node1 and node2 are the names of the SQL Server nodes:
application host: component host:
sharepoint cluster
sharepoint node1
sharepoint node2
- When you create the backup policy, specify the name of the SharePoint server as the application host (either a front-end web server or the central administration server)
Configuring NFS
- Windows 2012
- Open the Server Manager.
- From the Manage menu, click Add Roles and Features.
- In the Add Roles and Features Wizard, on the Before You Begin page, click Next.
- On the Select installation
- Click Next.
- On the Sever Selection page, click Select a server from the server pool and select the server. Click Next.
- On the Server Roles page, click Next.
- On the Features page, click Client for NFS. Click Next.
- On the Confirmation page, click Install.
- Open up Services, disable Server for NFS, enable Client for NFS set to automatic.
- Open a command prompt, run "sc config portmap start= auto".
- If media server is UNIX, no additional configuration is required. See the Software Compatibility List.
- If a firewall is used, open port 7394 and 111 between the media and the SQL Servers.
6. Configure a policy with the following settings.
- Attributes
- Policy Type: MS-Sharepoint
- Policy Storage: A supported disk pool
- Select the Enable granular recovery option.
- Schedules
- Full schedule only. Granular backups do not support incremental backups.
- Client
- Front-end web server or Central Administration server
- Backup Selections, back up all or web applications or individual web applications:
- Microsoft SharePoint Resources:\AllWebs
- Microsoft SharePoint Resources:\Web application name
Performing SharePoint backups with GRT
- Once configuration is complete, open the Backup, Archive and Restore on the front-end web server or Central Administration server.
- Select File > Specify NetBackup Machines and Policy Type.
- Select the following:
- Server to use for backups and restores: master server
- Source client for restore: current server
- Policy type for restores: MS-SharePoint
- Destination server: N/A
- Click OK.
- Click Select for Backup.
- Expand Microsoft SharePoint Resources to confirm you see the resources.
- This is the client you want to use to backup SharePoint.
If none of the servers show the Resources, run the sharepointcheck.exe on each server in the SharePoint farm, including SQL Servers.
- If you get a status code 2, follow the steps in this procedure again and then rerun the backup.
- If the SharePoint environment is over 500 GB in size, back up SharePoint at the Content DB level. See the examples in https://www.veritas.com/docs/000009237