|
|||
|
Backups are a fundamental operational activity for any organization, and backing up SharePoint is no exception. Unfortunately, backup planning and implementation are often overlooked. This article explains how to protect your SharePoint environment and the data it contains. Even though you can’t always prevent disasters from occurring, you can take steps to ensure your data is protected and can be restored if a disaster does occur. Before jumping into setting up and configuring backups, it's worth reviewing some SharePoint protection options.
High Availability Options The Microsoft-supported way to ensure SharePoint high availability is to create a SQL cluster to host the SharePoint databases and create multiple load-balanced front-end web servers. Microsoft Clustering Services use an Active/Passive technology to provide high availability to applications such as SQL Server and Exchange Server. Microsoft Clustering Services requires at least two servers and shared storage such as a Storage Area Network (SAN) as shown in the bottom box in Figure 1. One server acts as the active node performing all the processing for the application. The other server acts as a passive server, simply standing by in case the primary server fails. If that happens, the passive or fail-over server immediately takes over processing.
![]() Figure 1. High Availability SharePoint Farm: In this farm, two load-balanced front end web servers obtain data from two clustered servers (one active, one passive) that can both access shared storage. After clustering your SQL Server, you will more than likely want to set up network load balancing between two or more web front-ends. After all, what good is a highly available database if the application on the front-end isn’t online? You can use a hardware load balancer or the Microsoft Network Load Balancing Service (NLBS) to provide high availability and load balancing between multiple web front-ends as shown in the top box in Figure 1. The NLBS option balances traffic between the multiple front-end SharePoint servers during normal operations. When servers go offline, all traffic is diverted to the server(s) still online. The top box in Figure 1 depicts two web front-end servers set up with network load balancing. This scenario balances all web traffic between the two front-end servers. If one server fails, traffic would continue to be routed through the still-active web server. With high availability in place, you can turn your attention to putting a solid data backup plan in place.
SharePoint Data Protection
The second built-in backup method involves using SharePoint's native backup tools. You'll find these tools in a "Backup" section within the Central Admin application, and there are also some command line utilities that you can script. The primary advantage of using the native SharePoint backup tools is that you they can backup and restore your entire SharePoint farm configuration. When you need to restore of the farm, you can perform a fresh install of SharePoint, and then restore data and configuration information straight from Central Admin or a script. The native tools let you backup things you might miss using SQL backups, such as Shared Service Providers (SSPs) and search configurations. They also make it easy to choose which web applications, content databases, and configurations you want to backup. egardless of which method you select, you should perform regular restores to a test environment to check the backup plan. If you can’t restore the data, backups are useless. As you do so, document the entire recovery process, so that when a real emergency restore situation occurs, you won't have to guess which step to perform next. The SharePoint restore process is also a great way to build test and dev environments that mimic your production deployment. You can quickly configure and perform a backup of your entire farm or individual components by performing the following steps:
![]() Figure 2. SharePoint Central Administration Backup: Using the Central Admin backup tools, you can select the components and databases you wish to back up. You can monitor the backup progress in the Central Admin console. After the backup completes, verify there were no errors.
Increase Safety with Offsite Data Replication You can accomplish this using SQL log shipping to send the SQL transactions logs from the production SQL server to a stand-by SQL server in your secondary data center. Log shipping is a SQL server technology that copies transaction logs from one server to another—either on a local network or over wide area network (WAN) links. Log shipping is supported only for the content databases; therefore, in the event of a disaster, you will need to have a SharePoint farm set up in the secondary data center and manually configured to match the primary data center. Like your backup plan, you should thoroughly test and document the procedures as part of your SharePoint deployment. To setup SQL Log Shipping to provide disaster recovery, perform the following:
Planning for backups, availability, and disaster recovery is a critical step in deploying SharePoint. It’s also important to test and document these processes on a regular basis. You will sleep better at night knowing you have a well-tested SharePoint protection plan in place.
Useful Links |
|||
LEARN: SHAREPOINT
IT PROJECTS: SHAREPOINT