• No results found

Configuring SharePoint 2007 backups

Task 5: Configure a SharePoint 2007 Client resource

Task 5: Configure a SharePoint 2007 Client resource

For each machine in the SharePoint farm, create a Client resource in NetWorker Management Console, and assign it to the same backup group. The steps to create the Client resource depend on whether it is a stand-alone SharePoint farm, distributed SharePoint farm, and a full or component backup:

“Configuring a SharePoint Client resource to back up a stand-alone farm” on page 143.

“Configuring a SharePoint Client resource to perform a full backup of a distributed farm” on page 144.

“Configuring a SharePoint Client resource to back up a component on a machine in a distributed farm” on page 146.

There are also special steps when running the distributed SharePoint farm backup, as described in “Performing a full backup for a distributed SharePoint farm” on page 148.

Configuring a SharePoint Client resource to back up a stand-alone farm

In a stand-alone SharePoint configuration, only one component is required in the save set to perform a full backup.

To configure a SharePoint Client resource to back up a stand-alone farm:

1. In the Administration window of the NetWorker Management Console, click Configuration.

2. In the expanded left pane, select Clients.

3. From the File menu, select New.

4. In the Name attribute, type the hostname of the NetWorker client computer.

5. In the Comment attribute, type a description. If you are creating multiple Client resources for the same NetWorker client host computer, use this attribute to differentiate the purpose of each resource.

6. From the Browse Policy attribute, select a browse policy from the list. The browse policy determines how long rolled-over data is available for quick access.

7. From the Retention Policy attribute, select a retention policy from the list. The retention policy determines how long rolled-over data is available though not necessarily quickly.

8. Select the Scheduled Backups attribute.

9. In the Save Set attribute, specify the components to be backed up. Place multiple entries on separate lines.

To back up all SharePoint Server data, where all server components are located on the same machine, specify the save set name:

APPLICATIONS:\Microsoft Office SharePoint Services

The SharePoint Server save set syntax is described in “Specifying SharePoint 2007 save sets for application data” on page 137.

10. If needed, use URL-encoded values when specifying save set names in the Save Set attribute of the Client resource.

URL-encoded values are used to represent special characters such as the

backslash (\). A table of values is provided in “URL encoding for SharePoint save sets” on page 138.

Note: If a save set is copied from the nsrsnap_vss_save - ? output, it will already include the URL encoding.

11. For the Group attribute, select the backup group to which this Client resource will be added.

If Client resources for the same NMM Client host are added to different backup groups, ensure that the Start Time attribute for each backup group is spaced far enough apart so that the backups for the host’s Client resources do not overlap.

12. For the Schedule attribute, select a backup schedule.

13. Click the Apps & Modules tab.

14. In the Access area, leave the Remote user and Password fields empty.

15. In the Backup command attribute, type the backup command. For all types of backup data except for Active Directory conventional backups, type:

nsrsnap_vss_save.exe

16. In the Application information attribute, type the following variable and value:

NSR_SNAP_TYPE=vss

Type SharePoint application variable settings and their values on separate lines.

These settings are described in Table 24 on page 139.

17. Click the Globals (1 of 2) tab.

18. In the Aliases attribute, type the NETBIOS name for the client.

Note: NMM Client uses the host machine NETBIOS or “short” name when connecting to the NetWorker Server to browse backups. If the NETBIOS name is not found, NMM will not be able to display backups.

19. Click OK.

Configuring a SharePoint Client resource to perform a full backup of a distributed farm

In a distributed configuration, you must set up a Client resource for the web front-end server where the SharePoint 2007 VSS Writer was enabled using

STSADM.exe. You do not need a Client resource on each web front-end unless you are implementing a system-level disaster recover backup schedule for these hosts.

The Client resource can specify to perform a full farm backup, or to back up a content database. The components to specify in the save set for a particular machine are determined by performing the steps in “Displaying valid SharePoint 2007 data save sets” on page 137 on that machine.

To configure a SharePoint Client resource to perform a full backup of a distributed farm:

1. Repeat step 2 on page 145 through step 20 on page 146 for each machine in the farm, specifying the appropriate save set for the machine in step 10 on page 145 . For a distributed farm backup, add all client resources for the farm members to the same NetWorker backup group.

Task 5: Configure a SharePoint 2007 Client resource 145

2. In the Administration window of the NetWorker Management Console, click Configuration.

3. In the expanded left pane, select Clients.

4. From the File menu, select New.

5. In the Name attribute, type the hostname of the NetWorker client computer.

6. In the Comment attribute, type a description. If you are creating multiple Client resources for the same NetWorker client host computer, use this attribute to differentiate the purpose of each resource.

7. From the Browse Policy attribute, select a browse policy from the list. The browse policy determines how long rolled-over data is available for quick access.

8. From the Retention Policy attribute, select a retention policy from the list. The retention policy determines how long rolled-over data is available.

9. Select the Scheduled Backups attribute.

10. In the Save Set attribute, specify the components to be backed up:

Note: Each machine in a distributed farm requires a separate Client resource, and the Client resource for a given machine should only contain the SharePoint save sets on that machine.

• For the machine where the SharePoint VSS writer is registered, specify the save set name:

APPLICATIONS:\Microsoft Office SharePoint Services Then proceed to step 11 .

• For the SQL Server machine, specify the save set name:

APPLICATIONS:\SqlServerWriter Then proceed to step 11 .

• For all other SharePoint machines, determine the save sets available on the specific machine by following the steps in “Displaying valid SharePoint 2007 data save sets” on page 137. Specify the available save set names for that machine.

Then proceed to step 11 .

Note: The Search and Index databases cannot be backed up by themselves.

Search/Index databases are backed up as part of a Farm-level SharePoint backup.

The SharePoint Server save set syntax is described in “Specifying SharePoint 2007 save sets for application data” on page 137.

11. If needed, use URL-encoded values when specifying save set names in the Save Set attribute of the Client resource.

URL-encoded values are used to represent special characters such as the

backslash (\). A table of values is provided in “URL encoding for SharePoint save sets” on page 138.

Note: If a save set is copied from the nsrsnap_vss_save - ? output, it will already include the URL encoding.

12. For the Group attribute, select the backup group to which this Client resource will be added.

For a distributed farm backup, add all client resources for the farm members to the same NetWorker backup group.

13. For the Schedule attribute, select a backup schedule.

14. Click the Apps & Modules tab.

15. In the Access area, leave the Remote user and Password fields empty.

16. In the Backup command attribute, type the backup command.

For all types of backup data except for Active Directory conventional backups, type:

nsrsnap_vss_save.exe

17. In the Application information attribute, type the following variable and value:

NSR_SNAP_TYPE=vss

Type SharePoint application variable settings and their values on separate lines.

These settings are described in Table 24 on page 139.

18. Click the Globals (1 of 2) tab.

19. In the Aliases attribute, type the NETBIOS name for the client.

Note: NMM Client uses the host machine NETBIOS or “short” name when connecting to the NetWorker Server to browse backups. If the NETBIOS name is not found, NMM will not be able to display backups.

20. Click OK.

After the Client resources have been configured on each machine, the backup process itself requires special steps as described in “Performing a full backup for a distributed SharePoint farm” on page 148.

Configuring a SharePoint Client resource to back up a component on a machine in a distributed farm To configure a SharePoint Client resource to back up a component on a machine in a distributed farm:

1. In the Administration window of the NetWorker Management Console, click Configuration.

2. In the expanded left pane, select Clients.

3. From the File menu, select New.

4. In the Name attribute, type the hostname of the NetWorker client computer.

5. In the Comment attribute, type a description. If you are creating multiple Client resources for the same NetWorker client host computer, use this attribute to differentiate the purpose of each resource.

6. From the Browse Policy attribute, select a browse policy from the list. The browse policy determines how long rolled-over data is available for quick access.

7. From the Retention Policy attribute, select a retention policy from the list. The retention policy determines how long rolled-over data is available though not necessarily quickly.

8. Select the Scheduled Backups attribute.

Task 5: Configure a SharePoint 2007 Client resource 147

9. In the Save Set attribute, specify the components to be backed up. Place multiple entries on separate lines:

• To back up all SharePoint databases (Configuration database and Content databases), specify the save set name:

APPLICATIONS:\SqlServerWriter

Note: The Configuration database cannot be backed up by itself.

Then proceed to step 10 on page 147 .

• To back up a specific Content database, specify the save set name:

APPLICATIONS:\SqlServerWriter\<database name>

Then proceed to step 10 on page 147 .

Note: The Search and Index databases cannot be backed up by themselves.

Search/Index databases are backed up as part of a farm-level SharePoint backup.

The SharePoint Server save set syntax is described in “Specifying SharePoint 2007 save sets for application data” on page 137.

10. If needed, use URL-encoded values when specifying save set names in the Save Set attribute of the Client resource.

URL-encoded values are used to represent special characters such as the

backslash (\). A table of values is provided in “URL encoding for SharePoint save sets” on page 138.

11. For the Group attribute, select the backup group to which this Client resource will be added.

If Client resources for the same NMM Client host are added to different backup groups, ensure that the Start Time attribute for each backup group is spaced far enough apart so that the backups for the host’s Client resources do not overlap.

12. For the Schedule attribute, select a backup schedule.

13. Click the Apps & Modules tab.

14. In the Access area, leave the Remote user and Password fields empty.

15. In the Backup command attribute, type the backup command.

For all types of backup data except for Active Directory conventional backups, type:

nsrsnap_vss_save.exe

16. In the Application information attribute, type the following variable and value:

NSR_SNAP_TYPE=vss

Type SharePoint application variable settings and their values on separate lines.

These settings are described in “SharePoint application information variable settings” on page 139.

17. Click the Globals (1 of 2) tab.

18. In the Aliases attribute, type the NETBIOS name for the client.

Note: NMM Client uses the host machine NETBIOS or “short” name when connecting to the NetWorker Server to browse backups. If the NETBIOS name is not found, NMM will not be able to display backups.

19. Click OK.

Related documents