Back up a farm by using SQL Server tools (Office SharePoint Server 2007)
Applies To: Office SharePoint Server 2007
This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.
Topic Last Modified: 2016-11-14
Microsoft SQL Server 2005 provides high-performance backup and restore capability. Using the tools included with SQL Server 2005, you can prepare Microsoft Office SharePoint Server 2007 to recover quickly from several potential data-loss events:
User errors — for example, dropping a table by mistake.
Hardware failures — for example, a damaged disk drive or permanent loss of a server.
There are three different kinds of backup that can be performed using SQL Server Management Studio:
Full Creates a complete backup of the database. A full backup should be performed the first time you back up a database and periodically thereafter.
Differential Backs up only the changes to the database that have occurred since the last full backup.
Transaction Log Enables you to recover the database to the point of failure or to a specific point in time.
How you use these backup methods is determined by the recovery model you choose for this data. For more information about recovery models in SQL Server 2005, see Overview of Recovery Models (http://go.microsoft.com/fwlink/?LinkId=114396\&clcid=0x40).
Benefits of using SQL Server 2005 to back up and restore your Office SharePoint Server 2007 farm include:
Existing SQL Server disaster recovery strategies can be re-used.
Full and differential backups can be configured with added verification.
A full-fidelity data backup is provided.
Can be faster than backups that are performed by using SharePoint Products and Technologies built-in tools.
For more information about how SQL Server 2005 compares with other tools for protecting data, see Choose backup and recovery tools (Office SharePoint Server).
Back up an Office SharePoint Server 2007 farm
Before you begin, be sure you understand the synchronization problems that can occur when restoring the configuration database and the steps you can take to avoid them. For more information, see Restore a farm after a configuration database problem (Office SharePoint Server).
For more information about using SQL Server 2005 to back up databases, see Backing Up and Restoring Databases in SQL Server (http://go.microsoft.com/fwlink/?LinkID=102629\&clcid=0x40).
Membership in the db_backupoperator fixed database role is the minimum required to complete these procedures.
Back up an Office SharePoint Server 2007 farm
Start SQL Server Management Studio and connect to the database server.
In Object Explorer, expand Databases.
Right-click the configuration database (usually named SharePoint_Config), point to Tasks, and then click Back Up.
In the Back Up Database dialog box, select the type of backup that you want to perform from the Backup type list. For more information about which backup type to use, see Overview of Recovery Models (http://go.microsoft.com/fwlink/?LinkId=114396\&clcid=0x40) in the SQL Server 2005 Books Online.
Under Backup component, select the Database option.
In the Name text box, type a name or use the default.
In the Description text box, type a description of the backup.
Under Backup set will expire, specify how long the backup should be kept, or use the default. When the backup set expires, the backup set can be overwritten by any subsequent backups with the same name. The backup set is set to never expire (0 days) by default.
In the Destination section, specify a location to store the backup set, or use the default.
Click OK to back up the database.
Repeat steps 3 through 10 for the following databases:
Databases for Shared Services Providers (SSPs)
Search databases for the SSPs
Schedule a delayed or recurring backup
In the Backup database dialog box, after you have entered the database backup information (see the Backup a server farm procedure earlier in this article), click the arrow to show the Script menu, and then click Script Action to Job.
In the New Job dialog box, in the Select a page pane, click Schedules, and then click New.
In the New Job Schedule page, specify a name, type, frequency, and duration that you want for the scheduled backup, and then click OK.
Click OK to accept the scheduled job changes.
Click OK to save the job changes and start the database backup.
For more information about how to schedule a database backup, see How to schedule a database backup operation by using SQL Server Management Studio in SQL Server 2005 (http://go.microsoft.com/fwlink/?LinkId=109568\&clcid=0x40).
Back up and restore an entire farm (Office SharePoint Server 2007)
Prepare to back up and restore a farm (Office SharePoint Server 2007)
Back up a farm by using built-in tools (Office SharePoint Server 2007)
Restore a farm by using built-in tools (Office SharePoint Server 2007)
Restore a farm by using SQL Server tools (Office SharePoint Server 2007)
Back up and restore a farm by using DPM (Office SharePoint Server 2007)
Restore a farm after a configuration database problem (Office SharePoint Server)