Operations guide for servers and server farms
for Microsoft SharePoint Server 2010
Microsoft Corporation Published: January 2011
Author: Microsoft Office System and Servers Team ([email protected])
Abstract
This book describes how to operate and maintain servers and server farms in a Microsoft SharePoint Server 2010 environment. The audiences for this book include application specialists, line-of-business application specialists, and IT administrators who operate and maintain installations of SharePoint Server 2010.
The content in this book is a copy of selected content in the SharePoint Server 2010 technical library (http://go.microsoft.com/fwlink/?LinkId=181463) as of the publication date. For the most current content, see the technical library on the Web.
This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. Some examples depicted herein are provided for illustration only and are fictitious. No real association or connection is intended or should be inferred.
This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes.
© 2011 Microsoft Corporation. All rights reserved.
Microsoft, Access, Active Directory, Backstage, Excel, Groove, Hotmail, InfoPath, Internet Explorer, Outlook, PerformancePoint, PowerPoint, SharePoint, Silverlight, Windows, Windows Live, Windows Mobile, Windows PowerShell, Windows Server, and Windows Vista are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication.
Contents
Getting help ... xix
Operations for SharePoint Server 2010 ... 1
Server and server farm administration (SharePoint Server 2010) ... 2
Backup and recovery (SharePoint Server 2010) ... 3
Prepare to back up and recover (SharePoint Server 2010) ... 4
Restrictions ... 4
Requirements ... 4
How to create a shared folder ... 5
Backup and recovery best practices (SharePoint Server 2010) ... 7
Performance best practices ... 7
Minimize latency between SQL Server and the backup location ... 7
Avoid processing conflicts ... 7
Keep databases small for faster recovery times ... 7
Use incremental backups for large databases ... 8
Use compression during backup ... 8
Follow SQL Server backup and restore optimization recommendations ... 8
Use RAID 10 if you are going to use RAID... 8
Configure SharePoint settings for better backup or restore performance ... 8
Consider site collection size when determining the tools to use ... 9
Quality assurance best practices ... 9
Ensure you have adequate storage space ... 9
Routinely test backup quality ... 10
Back up ULS trace logs ... 10
Store a copy of backup files off-site ... 10
Procedural best practices ... 10
Use FQDN server names ... 10
Keep accurate records ... 10
Have a recovery environment ready ... 10
Schedule backup operations ... 11
Use the SQL FILESTREAM provider with BLOB storage ... 11
Configuring permissions for backup and recovery (SharePoint Server 2010) ... 12
Permissions for the SPTimerV4 timer service and SQL Server account ... 12
Group memberships required to run backup and restore operations in Central Administration ... 12
Backup (SharePoint Server 2010) ... 15
Back up all or part of a farm ... 15
Back up a farm (SharePoint Server 2010) ... 17
Considerations when backing up a farm ... 17
Task requirements... 18
Use Windows PowerShell to back up a farm ... 18
Use Central Administration to back up a farm ... 19
Use SQL Server tools to back up a farm ... 20
Related content ... 20
Back up a farm configuration (SharePoint Server 2010) ... 22
Task requirements... 22
Use Windows PowerShell to back up a farm configuration ... 23
Use Central Administration to back up a farm configuration ... 24
Back up a Web application (SharePoint Server 2010)... 25
Considerations when backing up a Web application ... 25
Task requirements... 26
Use Windows PowerShell to back up a Web application... 26
Use Central Administration to back up a Web application ... 27
Use SQL Server tools to back up a Web application ... 28
Related content ... 28
Back up a service application (SharePoint Server 2010) ... 30
Task requirements... 30
Use Windows PowerShell to back up a service application... 31
Use Central Administration to back up a service application ... 32
Back up search (SharePoint Server 2010) ... 33
Task requirements... 33
Use Windows PowerShell to back up search ... 33
Use Central Administration to back up search ... 34
Back up the Secure Store service (SharePoint Server 2010) ... 36
Task requirements... 36
Use Windows PowerShell to back up the Secure Store Service ... 37
Use Central Administration to back up the Secure Store Service ... 37
Back up a content database (SharePoint Server 2010) ... 39
Task requirements... 39
Use Windows PowerShell to back up a content database... 40
Back up databases to snapshots (SharePoint Server 2010) ... 43
Task requirements... 43
Use SQL Server tools to back up a database to a snapshot ... 43
Back up customizations (SharePoint Server 2010) ... 45
Backing up solution packages ... 46
Backing up sandboxed solutions ... 47
Backing up authored site elements ... 47
Backing up workflows ... 48
Backing up changes to the Web.config file ... 48
Backing up third-party products ... 49
Backing up changes made by direct editing ... 49
Backing up developed customizations that are not packaged as solutions ... 49
Related content ... 50
Back up a site collection (SharePoint Server 2010)... 51
Task requirements... 51
Use Windows PowerShell to back up a site collection ... 51
Use Central Administration to back up a site collection ... 53
Export a site, list, or document library (SharePoint Server 2010) ... 54
Task requirements... 54
Use Windows PowerShell to export a site, list, or document library ... 54
Use Central Administration to export a site, list, or document library ... 55
Back up or archive logs (SharePoint Server 2010) ... 57
[Essential] Back up transaction logs ... 57
How transaction log size affects farm backup times ... 58
[Recommended] Collect usage data ... 58
[Recommended] Archive diagnostic logs ... 58
Recovery (SharePoint Server 2010) ... 61
Recover all or part of a farm ... 61
Restore a farm (SharePoint Server 2010) ... 64
Considerations when recovering a farm ... 64
Use Windows PowerShell to restore a farm ... 66
Use Central Administration to restore a farm ... 67
Use SQL Server tools to restore a farm ... 68
Related content ... 69
Restore a farm configuration (SharePoint Server 2010) ... 71
Overview ... 71
Use Central Administration to restore a farm‘s configuration ... 72
Use SQL Server to restore a farm's configuration ... 73
Document farm configuration settings (SharePoint Server 2010) ... 74
Example of using a cmdlet ... 84
Copy configuration settings from one farm to another (SharePoint Server 2010) ... 87
Back up and recover a farm without content databases to copy configuration settings ... 87
Back up and recover configuration settings only ... 88
Create a scripted deployment to copy configuration settings ... 89
Restore a Web application (SharePoint Server 2010) ... 90
Considerations when backing up a Web application ... 90
Use Windows PowerShell to restore a Web application ... 90
Use Central Administration to restore a Web application ... 91
Additional steps to restore a Web application that uses forms-based authentication ... 92
Additional steps to remove duplicate claims providers after restoring a Web application that uses claims-based authentication ... 93
Related content ... 93
Restore a service application (SharePoint Server 2010) ... 94
Use Windows PowerShell to restore a service application ... 95
Use Central Administration to restore a service application ... 95
Use SQL Server tools to restore the databases for a service application ... 96
Restore search (SharePoint Server 2010) ... 98
Use Windows PowerShell to restore a search service application ... 98
Use Central Administration to restore a search service application ... 99
Restore secure store services (SharePoint Server 2010)... 101
Use Central Administration to restore the Secure Store Service ... 101
Use Windows PowerShell to restore the Secure Store Service ... 102
Restore a content database (SharePoint Server 2010) ... 104
Use Windows PowerShell to restore a content database ... 104
Use Central Administration to restore a content database ... 105
Use SQL Server tools to restore a content database ... 106
Attach and restore a read-only content database (SharePoint Server 2010) ... 108
Use Windows PowerShell to attach and restore a read-only content database ... 108
Restore customizations (SharePoint Server 2010) ... 109
Restoring solution packages ... 109
Restoring workflows ... 111
Restoring changes to the Web.config file ... 112
Recovering changes made by direct editing ... 112
Restoring developed customizations that are not packaged as solutions ... 113
Related content ... 113
Restore a site collection (SharePoint Server 2010) ... 114
Use Windows PowerShell to restore a site collection ... 114
Import a list or document library (SharePoint Server 2010) ... 116
Import a site, list or document library ... 116
Database management (SharePoint Server 2010) ... 118
Add a content database (SharePoint Server 2010) ... 120
Attach or detach content databases (SharePoint Server 2010) ... 122
Move site collections between databases (SharePoint Server 2010) ... 126
Determining the size of the source site collection ... 127
Moving site collections between content databases ... 127
Move content databases (SharePoint Server 2010) ... 129
Overview of moving content databases ... 129
Moving content databases ... 130
Rename or move service application databases (SharePoint Server 2010) ... 136
Renaming or moving service application databases by using SQL Server ... 139
Move a database by using SQL Server Management Studio and Windows Explorer ... 140
General method for pointing a service application to a renamed or moved database ... 140
Service application-specific guidance for renaming or moving databases ... 142
Pointing the Usage and Health Data Collection service application to a renamed or moved database ... 142
Pointing the Search service application to renamed or moved databases ... 143
Pointing the Web Analytics service application to renamed or moved databases ... 145
Pointing the State Service service application to a renamed or moved database ... 147
Pointing the Managed Metadata service application to a renamed or moved database ... 148
Pointing the Word Automation service application to a renamed or moved database ... 149
Pointing the Secure Store service application to a renamed or moved database ... 150
Pointing the Business Data Connectivity service application to a renamed or moved database ... 151
Pointing the Application Registry service application to a renamed or moved database ... 151
Pointing the User Profile service application to renamed or moved databases ... 151
Pointing the PerformancePoint service application to a renamed or moved database ... 151
Move all databases (SharePoint Server 2010) ... 154
Moving all databases ... 154
Run a farm that uses read-only databases (SharePoint Server 2010) ... 160
Prepare users for the read-only experience ... 160
Sites that use read-only content databases ... 160
Farms that use read-only service application databases ... 161
Set content databases to be read-only ... 161
Set service application databases to be read-only ... 162
Manage Remote BLOB Storage (SharePoint Server 2010) ... 164
In This Section ... 164
Overview of Remote BLOB Storage (SharePoint Server 2010) ... 165
Introduction to RBS ... 165
Using RBS together with SharePoint 2010 Products ... 166
Install and configure Remote BLOB Storage (RBS) with the FILESTREAM provider (SharePoint Server 2010) ... 168
Enable FILESTREAM and provision the RBS data store ... 168
Install RBS ... 169
Enable and test RBS ... 171
Install and configure Remote BLOB Storage (RBS) without the FILESTREAM provider (SharePoint Server 2010) ... 173
Install RBS ... 174
Enable and test RBS ... 175
Set a content database to use Remote BLOB Storage (RBS) (SharePoint Server 2010) ... 177
Set a content database to use RBS ... 177
Migrate content into or out of Remote BLOB Storage (RBS) (SharePoint Server 2010) ... 180
Maintain Remote BLOB Storage (RBS) (SharePoint Server 2010) ... 182
Garbage collection ... 182
Configuring RBS garbage collection ... 183
RBS and BLOB store consistency checks ... 183
Running the RBS Maintainer ... 183
Disable Remote BLOB Storage (RBS) on a content database (SharePoint Server 2010) ... 188
Security and permissions (SharePoint Server 2010) ... 189
Configure custom permissions (SharePoint Server 2010) ... 190
Create a permission level ... 191
Change passwords used for administration accounts (SharePoint Server 2010) ... 193
Configure automatic password change (SharePoint Server 2010) ... 195
Configure managed accounts ... 195
Configure automatic password change settings ... 196
Troubleshooting automatic password change ... 196
Password mismatch ... 196
Service account provisioning failure ... 197
Imminent password expiration ... 198
Requirement to change the farm account to a different account... 198
Change passwords for SQL Server services (SharePoint Server 2010) ... 199
Change the password for the SQL Server service ... 199
To change the password for the SQL Server Agent service ... 200
Change the password for the default content access account (SharePoint Server 2010) ... 201
Change the password for the default content access account ... 201
Service application and service management (SharePoint Server 2010) ... 202
In This Section ... 202
About service applications and services (SharePoint Server 2010) ... 203
Manage service applications (SharePoint Server 2010) ... 204
Share service applications across farms (SharePoint Server 2010) ... 206
Exchange trust certificates between farms (SharePoint Server 2010) ... 208
Exporting and copying certificates ... 208
Managing trust certificates by using Windows Powershell ... 210
Establishing trust on the consuming farm... 210
Establishing trust on the publishing farm ... 210
Managing trust certificates by using Central Administration ... 211
Publish a service application (SharePoint Server 2010) ... 213
Set permission to a published service application (SharePoint Server) ... 215
Set permission to the Application Discovery and Load Balancing Service Application and any other service application for a consuming farm by using Windows PowerShell ... 215
Set permission to the Application Discovery and Load Balancing Service Application and any other published service application for a consuming farm by using Central Administration ... 218
Add or remove a service application connection to a Web application (SharePoint Server 2010) 222
Editing a service connection group ... 222
Restrict or enable access to a service application (SharePoint Server 2010) ... 225
Restricting access to a service application ... 225
Restrict access to a service application by using Central Administration ... 226
Restore farm-wide access to a service application ... 230
Windows PowerShell code examples ... 232
Assign or remove administrators to a service application (SharePoint Server 2010) ... 234
Delete a service application (SharePoint Server 2010) ... 236
Example ... 237
Access Services administration ... 239
Using Access Services with SQL Reporting Services: Installing SQL Server 2008 R2 Reporting Services Add-In (SharePoint Server 2010) ... 240
Business Data Connectivity service administration (SharePoint Server 2010) ... 243
Manage external systems (SharePoint Server 2010) ... 244
Set permissions on an external system ... 244
View all external systems for a Business Data Connectivity service application instance ... 246
Delete an external system ... 246
View the external content types of an external system ... 247
Configure an external system ... 247
Configure an instance of an external system ... 250
Manage BDC models (SharePoint Server 2010) ... 255
Import a BDC model ... 255
Export a BDC model or resource file... 257
Set permissions on a BDC model ... 258
View all models ... 259
Delete a BDC model ... 260
View a model‘s external content types ... 260
Manage external content types (SharePoint Server 2010) ... 262
Set permissions on an external content type ... 263
View all external content types for an instance of a Business Data Connectivity service application ... 264
View all external content types contained in a model ... 264
View details of an external content type ... 265
Specify the profile page host for a Business Data Connectivity service application instance ... 268
Create or update a profile page for an external content type ... 268
Create external content types using SharePoint Designer 2010 ... 270
About the author ... 270
Related resources ... 270
Excel Services administration (SharePoint Server 2010) ... 272
Manage Excel Services custom applications (SharePoint Server 2010) ... 273
UDFs ... 273
ECMAScript ... 274
REST API ... 275
Managed metadata administration (SharePoint Server 2010) ... 276
Create, update, publish, or delete a managed metadata service application (SharePoint Server 2010) ... 277
Task Requirements ... 277
Create a managed metadata service application ... 277
Update a managed metadata service application ... 280
Publish a managed metadata service application ... 282
Delete a managed metadata service application ... 282
Create, update, or delete a managed metadata service connection (SharePoint Server 2010) .... 284
Task Requirements ... 284
Create a managed metadata service connection ... 284
Update a managed metadata service connection ... 286
Delete a managed metadata service connection ... 288
Add and remove term store administrators (SharePoint Server 2010) ... 289
Task Requirements ... 289
Add a term store administrator ... 289
Remove a term store administrator ... 290
PerformancePoint Services administration ... 292
Import Wizard: PerformancePoint Server 2007 content to SharePoint Server 2010 ... 293
Import PerformancePoint Dashboard 2010 content from a SharePoint Server 2010 server, site, or list ... 295
Import PerformancePoint Dashboard content from a SharePoint Server 2010 server, site, or list 295 Create a PerformancePoint Services service application (SharePoint Server 2010) ... 297
Create a PerformancePoint Services service application by using the Farm Configuration wizard
... 297
Create a PerformancePoint Services service application by using Central Administration ... 298
Create a PerformancePoint Services service application by using Windows PowerShell ... 299
Delete a PerformancePoint Services service application (SharePoint Server 2010) ... 300
Set up and configure PerformancePoint Services (step-by-step) ... 301
Overview ... 301
Set up the Web application, site collection, and service application ... 302
Manage the State Service (SharePoint Server 2010) ... 306
Configure the State Service ... 306
Configure the State Service by using the Farm Configuration Wizard ... 307
Configure the State Service by using Windows PowerShell ... 307
Monitoring the State Service ... 309
Manage services on the server (SharePoint Server 2010) ... 310
Configuring global settings ... 310
Starting or stopping a service ... 310
Configure Document Conversions Load Balancer and Launcher Services (SharePoint Server 2010) ... 312
Overview ... 312
Use Central Administration to enable the Document Conversions Launcher or Load Balancer services ... 313
Use Central Administration to configure the Document Conversions Launcher Service ... 314
Use Central Administration to configure the Document Conversions Load Balancer service ... 314
Configure global workflow settings (SharePoint Server 2010) ... 316
Enable or disable declarative workflows (SharePoint Server 2010) ... 317
Allow non-authenticated users to participate in workflows (SharePoint Server 2010) ... 318
Allow non-authenticated users to participate in workflows ... 318
Disable preservation of workflow history (SharePoint Server 2010) ... 320
Disable automatic workflow cleanup ... 320
Manage the State Service (SharePoint Server 2010) ... 322
Configure the State Service ... 322
Configure the State Service by using the Farm Configuration Wizard ... 323
Configure the State Service by using Windows PowerShell ... 323
Create a Web application (SharePoint Server 2010) ... 328
Create a Web application that uses Windows-claims authentication (SharePoint Server 2010) ... 330
Create a Web application that uses Windows-classic authentication (SharePoint Server 2010) ... 337
Configure settings for a Web application (SharePoint Server 2010) ... 343
Web application general settings ... 343
In this section ... 346
Configure alert settings for a Web application (SharePoint Server 2010) ... 348
Configure Recycle Bin settings (SharePoint Server 2010) ... 352
Define managed paths (SharePoint Server 2010) ... 354
Define managed paths for a Web application by using Central Administration ... 354
Define managed paths for a Web application by using Windows Powershell ... 355
Turn on or turn off self-service site creation (SharePoint Server 2010) ... 358
Cache settings operations (SharePoint Server 2010)... 360
BLOB cache ... 360
Page output cache profiles ... 361
Object cache ... 361
Task Requirements ... 361
Configure cache settings for a Web application (SharePoint Server 2010) ... 362
Configuring BLOB cache settings ... 362
Configuring cache profile settings ... 364
Configuring object cache settings ... 365
Configure object cache user accounts ... 368
Configure object cache user accounts by using Central Administration and Windows PowerShell ... 369
Flush the BLOB cache (SharePoint Server 2010) ... 372
Flush the BLOB cache ... 372
Extend a Web application (SharePoint Server 2010) ... 374
Extend a Web application that uses Windows-claims authentication (SharePoint Server 2010) ... 375
Extend a Web application that uses Windows-classic authentication (SharePoint Server 2010) .. 380
Unextend a Web application (SharePoint Server 2010) ... 384
View site collections in a Web application (SharePoint Server 2010) ... 389
Manage permissions for a Web application (SharePoint Server 2010) ... 391
Manage permissions for a Web application ... 391
Manage permission policies for a Web application (SharePoint Server 2010) ... 393
Manage user permission policy ... 394
Add users to a permission policy ... 394
Edit a user permissions policy ... 395
Delete users from a permission policy ... 395
Manage permission policy for anonymous users ... 396
Manage permission policy levels ... 397
Add a permission policy level ... 397
Edit a permission policy level ... 398
Delete a permission policy level ... 398
Health monitoring (SharePoint Server 2010) ... 399
Monitoring ... 399
Monitoring overview (SharePoint Server 2010) ... 400
Configuring monitoring ... 400
Diagnostic logging ... 400
Health and usage data collection ... 400
Monitoring the farm and resolving problems by using SharePoint Health Analyzer ... 401
View and use reports ... 402
Configuring monitoring (SharePoint Server 2010) ... 403
Configure monitoring ... 403
Configure diagnostic logging (SharePoint Server 2010) ... 404
Best practices ... 404
Configure diagnostic logging by using Central Administration ... 406
Configure diagnostic logging by using Windows PowerShell ... 407
Configure SharePoint Health Analyzer timer jobs (SharePoint Server 2010) ... 409
Use Central Administration to configure health data collection timer jobs ... 409
Use Windows PowerShell to configure health data collection timer jobs ... 410
Configure usage and health data collection (SharePoint Server 2010) ... 412
Configure usage and health data collection by using Central Administration ... 412
Configure usage data collection by using Windows PowerShell ... 413
To configure usage data collection for a specific event type by using Windows PowerShell ... 414
Configuring health rules ... 416
Viewing reports and logs (SharePoint Server 2010) ... 418
View administrative reports (SharePoint Server 2010) ... 419
View administrative reports by using Central Administration ... 419
View health reports (SharePoint Server 2010) ... 420
View health reports by using Central Administration ... 420
View Web Analytics reports (SharePoint Server 2010) ... 421
View Web Analytics reports by using Central Administration ... 421
View diagnostic logs (SharePoint Server 2010) ... 423
View and filter log events by using Windows PowerShell ... 423
View and export diagnostic logs by using the Windows PowerShell Out-GridView cmdlet... 424
View timer job status (SharePoint Server 2010) ... 427
View timer job status by using Central Administration ... 427
View timer job status by using Windows PowerShell... 427
Monitor cache performance (SharePoint Server 2010) ... 429
About cache monitoring ... 429
Monitoring BLOB cache performance ... 430
Monitoring ASP.NET output cache performance ... 431
Monitoring object cache performance ... 432
Solving problems and troubleshooting (SharePoint Server 2010) ... 434
Viewing and resolving SharePoint Health Analyzer alerts (SharePoint Server 2010) ... 435
Viewing and resolving SharePoint Health Analyzer alerts ... 435
Health alert fields... 435
Update alerts by using Windows PowerShell (SharePoint Server 2010) ... 437
Example ... 438
Monitor health and performance of a virtual environment (SharePoint Server 2010) ... 440
Monitor SharePoint health and performance ... 440
Monitor Hyper-V health and performance ... 440
Health and performance resources ... 441
SharePoint Server 2010 Operations Framework and Checklists (white paper) ... 442
Manage farm administration settings (SharePoint Server 2010) ... 443
Configure diagnostic logging (SharePoint Server 2010) ... 444
Configure diagnostic logging by using Central Administration ... 446
Configure diagnostic logging by using Windows PowerShell ... 447
E-mail integration (SharePoint Server 2010) ... 449
Configure incoming e-mail (SharePoint Server 2010) ... 450
Overview ... 450
Install and configure the SMTP service ... 451
Install the SMTP service ... 451
Install IIS 6.0 Management tools ... 451
Configure the SMTP service ... 452
Configure incoming e-mail in a basic scenario ... 453
Configure incoming e-mail in an advanced scenario ... 453
Prepare your environment for incoming e-mail in an advanced scenario ... 457
Configure AD DS to be used with Directory Management Service ... 457
Configure DNS Manager ... 460
Add an SMTP connector in Microsoft Exchange Server 2010 ... 461
Configure permissions to the e-mail drop folder ... 462
Are attachments missing from e-mail messages that are sent to a SharePoint document library? 464 Configure outgoing e-mail (SharePoint Server 2010) ... 466
Install and configure the SMTP service ... 467
Install the SMTP service ... 467
Configure the SMTP service ... 468
Configure outgoing e-mail for a farm... 469
Configure outgoing e-mail for a specific Web application ... 470
Configure a mobile account (SharePoint Server 2010) ... 473
Import a root certificate and create a trusted root authority ... 474
Configure a mobile account ... 474
Retrieve mobile account information ... 478
Delete a mobile account ... 479
Change the Central Administration Web site port number (SharePoint Server 2010) ... 481
Farm topology management (SharePoint Server 2010) ... 483
Add a Web or application server to the farm (SharePoint Server 2010) ... 484
Preparation ... 484
Determine server role ... 484
Additional tasks ... 487
Install prerequisite software ... 487
Configure the new server ... 491
Add a database server to an existing farm (SharePoint Server 2010) ... 492
Prepare the new database server ... 492
Configure and use the new database server ... 493
Remove a server from the farm (SharePoint Server 2010) ... 495
Remove a Web server or an application server from a farm by using Control Panel ... 496
Remove any kind of server from a farm by using Central Administration ... 497
Rename a stand-alone server (SharePoint Server 2010) ... 498
Rename a stand-alone server by using Windows Powershell ... 498
Update site access mappings ... 499
Manage search topology ... 500
Search topology operations in SharePoint Server 2010 (white paper) ... 501
Add or remove an index partition ... 502
To add an index partition to a Search Service Application ... 502
To remove an index partition from a Search Service Application ... 503
Add or remove a query component ... 505
To add a query component to an index partition ... 505
To remove a query component from an index partition ... 506
Add or remove a crawl database ... 508
To add a crawl database to a Search Service Application ... 508
To remove a crawl database from a Search Service Application ... 509
Add or remove a crawl component ... 511
To add a crawl component to a Search Service Application ... 511
To remove a crawl component from a Search Service Application ... 512
Add or remove a property database... 513
To add a property database to a farm ... 513
To remove a property database from a farm ... 514
Add or remove a host distribution rule ... 516
To add a host distribution rule ... 516
To remove a host distribution rule ... 516
Migrate a farm deployed on a failover cluster environment (SharePoint Server 2010) ... 518
Migration strategy ... 518
Availability configuration (SharePoint Server 2010)... 520
Configure availability by using SQL Server clustering (SharePoint Server 2010) ... 521
Configure availability by using SQL Server database mirroring (SharePoint Server 2010) ... 522
Before you begin ... 524
Database mirroring requirements ... 524
Security associated with database mirroring ... 525
Configure high-availability database mirroring ... 526
Configure SharePoint 2010 Products to be aware of mirrored databases ... 526
User experience during a failover ... 527
Monitoring and troubleshooting mirroring ... 527
Sample script for configuring SQL Server database mirroring (SharePoint Server 2010) ... 528
Configure database mirroring with certificates and full recovery ... 528
Set up a witness server ... 533
Transfer permissions to the mirror server ... 536
Removing mirroring from a server... 536
Track or block SharePoint Server 2010 installations ... 537
Block installations ... 537
Getting help
Every effort has been made to ensure the accuracy of this book. This content is also available online in the Office System TechNet Library, so if you run into problems you can check for updates at:
http://technet.microsoft.com/office
If you do not find your answer in our online content, you can send an e-mail message to the Microsoft Office System and Servers content team at:
If your question is about Microsoft Office products, and not about the content of this book, please search the Microsoft Help and Support Center or the Microsoft Knowledge Base at:
Operations for SharePoint Server 2010
Welcome to the operations guide for Microsoft SharePoint Server 2010. The articles in this guide help you operate and maintain your servers, server farms, sites, and solutions.
In this section:
Server and server farm administration (SharePoint Server 2010)
This section describes how to maintain servers and server farms within a SharePoint Server 2010 environment. It includes articles about backup and recovery, managing databases, Web application management, service application management, health and monitoring, and security and
permissions administration.
Site and solution administration (SharePoint Server 2010)
(http://technet.microsoft.com/library/86f8efd5-d255-497b-939f-5b0bb6d459ac(Office.14).aspx) This section describes how to maintain sites and solutions within a SharePoint Server 2010 environment. It includes articles about managing site collections, service applications and services, features such as workflow, and sandboxed solutions.
Server and server farm administration
(SharePoint Server 2010)
This section describes how to configure administration settings for servers and server farms within a Microsoft SharePoint Server 2010 environment.
In this section:
Backup and recovery (SharePoint Server 2010) Database management (SharePoint Server 2010) Security and permissions (SharePoint Server 2010)
Service application and service management (SharePoint Server 2010) Web applications management (SharePoint Server 2010)
Health monitoring (SharePoint Server 2010)
Manage farm administration settings (SharePoint Server 2010) Farm topology management (SharePoint Server 2010)
Availability configuration (SharePoint Server 2010) Track or block SharePoint Server 2010 installations
Backup and recovery (SharePoint Server 2010)
The articles in this section are written to meet the requirements of information technology (IT)professionals who are responsible for the planning, design, deployment, and operations of backup and recovery solutions. These solutions might be in enterprise, corporate, or branch-office environments. The IT professionals who are responsible for backup and recovery solutions are expected to have an understanding of the technical details that are contained in this section. However, service-level expertise is not required to understand the enterprise-level discussions and decisions.
A backup is a copy of data that is used to restore and recover that data after a system failure. Backups allow you to restore data after a failure. Recovery allows you to quickly restore the farm if a problem arises. You can recover the entire farm or one or more components of the farm from a backup.
Relevant backup and recovery articles for Project Server 2010 are available in the Project Server document library at Project backup and recovery (Project Server 2010)
(http://technet.microsoft.com/library/800a2c1d-2415-4024-8b00-106c2e0beab2(Office.14).aspx) and Back up and restore databases (Project Server 2010) ( http://technet.microsoft.com/library/034ca3f9-82fb-426c-b687-7b9c59495496(Office.14).aspx).
In this section:
Prepare to back up and recover (SharePoint Server 2010) Backup and recovery best practices (SharePoint Server 2010)
Configuring permissions for backup and recovery (SharePoint Server 2010) Backup (SharePoint Server 2010)
Prepare to back up and recover (SharePoint
Server 2010)
It is important to ensure that you have backed up and can recover the data that you need should a failure occur. Consider the information, procedures, and precautions that are described in this article before you back up and restore the environment. This article discusses restrictions and requirements for backup and recovery and how to create a shared folder on the network that can receive backed-up data.
In this article: Restrictions Requirements
How to create a shared folder
Restrictions
There are some restrictions in what can be backed up or restored. For more information about backup and recovery architecture and about what can or cannot be backed up and restored, see Backup and recovery overview (SharePoint Server 2010) (http://technet.microsoft.com/library/ee879d48-44a3-46e7-a631-736c4430ec94(Office.14).aspx).
You cannot use a backup made from one version to restore to another version. To do this, you must use the upgrade process. You cannot restore to a farm with a lower update level than the update level of the farm that you backed up. The destination farm must have the same or newer update level. For information about how to upgrade, see Upgrading to SharePoint Server 2010
(http://technet.microsoft.com/library/396c85d9-4b86-484e-9cc5-f6c4d725c578(Office.14).aspx). If you perform a backup while any task that creates or deletes databases is running, these changes might not be included in the backup.
Do not modify the spbackup.xml file. This file is used by SharePoint Server 2010 and changing it can make the backups unusable.
Requirements
Before you back up data, you must create a shared folder in which the data will be stored. For best performance, you should create this folder on the database server. If you want to archive the backups to another server, you can copy the whole backup folder to that server after backup is complete. Be sure to copy and move the whole backup folder and not the individual backup folders under this folder.
The SQL Server VSS Writer service, which is available with Microsoft SQL Server 2008 R2, SQL Server 2008 with Service Pack 1 (SP1) and Cumulative Update 2, and SQL Server 2005 with SP3 and Cumulative Update 3 database software, must be started for the SharePoint 2010 VSS Writer service to work correctly. By default, the SharePoint 2010 VSS Writer service is not automatically started.
You must make sure that the SharePoint 2010 Administration service is started on all farm servers before you perform a backup. By default, this service is not started on stand-alone installations. You must ensure that the user accounts that you want to perform a backup have access to the shared backup folder.
If you are backing up by using Central Administration, the database server's SQL service account, the Timer service account, and the Central Administration application pool identity account must have Full Control permissions to the backup locations.
The database server and farm server that you want to back up must be able to connect to one another. If you have changed the farm account, before you back up, you must grant the new account the correct permissions to the shared folder that will contain the backup data.
If you are using SQL Server with Transparent Data Encryption (TDE), and you are backing up your environment by using either SharePoint tools or SQL Server tools, the TDE encryption key is not backed up or restored. You must manually back up the key. When restoring, you must manually restore the key before you restore the data. For more information, see Understanding Transparent Data Encryption (TDE) (http://go.microsoft.com/fwlink/?LinkId=196394&clcid=0x409).
How to create a shared folder
Use this procedure to create a shared folder on the network that can receive and hold backed-up data. You can also use this shared folder when you restore data. If you already have a shared folder that serves this purpose, you do not have to perform this procedure. By performing the following procedure, you ensure that you can access the shared folder from the computer that runs Microsoft SQL Server database software and from the computer that hosts the SharePoint Central Administration Web site. If you are backing up by using Central Administration and SQL Server is not running on the same server, the backup folder must be on the same network or on a database server as SharePoint Server 2010. If you have a stand-alone installation where both SQL Server and SharePoint Server 2010 are running on the same server, you can use a local drive path as the backup folder location. If you are using SQL Server to directly back up a database, such as by using SQL Server Management Studio, the backup folder can be either local or on the network. For best performance, we recommend that you back up to a local folder on the database server and then move or copy the backup files to a network folder.
1. Verify that the user account that is performing this procedure is a member of the Administrators group on the computer on which you want to create the shared folder.
2. If you create the shared folder on a computer other than the one running SQL Server, ensure that the service account for SQL Server (MSSQLSERVER) is using a domain user account and that it has Full Control permissions on the shared folder.
3. On the server on which you want to store the backup data, create a shared folder.
4. On the Sharing tab of the Properties dialog box, click Share, and then in the File Sharing dialog box, add the following accounts and assign them the Co-Owner role:
SQL Server service account (MSSQLSERVER)
The SharePoint Central Administration application pool identity account
The SharePoint 2010 Timer service account (if you are using SharePoint Server 2010 to perform backups) .
See Also
Backup and recovery best practices
(SharePoint Server 2010)
This article describes best practices that you can use to help ensure that backup and recovery operations in Microsoft SharePoint Server 2010 are successful and that the environment is protected against data loss or continuity gaps. The article includes best practices for performance, quality assurance, security, and operational excellence.
In this article:
Performance best practices Quality assurance best practices Procedural best practices
Performance best practices
Backup and restore operations can consume server resources and limit server performance while the operations are running. By following these best practices, you can reduce resource usage and increase the performance of servers and the backup or restore operation.
Minimize latency between SQL Server and the backup location
In general, it is best to use a local disk on the database server, not a network drive, for backups, and then copy the data later to a shared folder on the network. Network drives with 1 millisecond or less latency between them and the database server will perform well.To avoid I/O bottlenecks, perform the main backup to a separate disk from the disk running Microsoft SQL Server 2008 with Service Pack 1 (SP1) and Cumulative Update 2.
By design, most backup jobs consume all available I/O resources to complete the job. Therefore, you might see disk queuing, which can result in greater than usual I/O request latency. This is typical and should not be considered a problem.
Avoid processing conflicts
Do not run backup jobs during times when users require access to the system. Consider staggering backups so that not all databases are backed up at the same time.
Keep databases small for faster recovery times
Use incremental backups for large databases
Use incremental backups for large database such as those available with DPM 2010. Incremental backups can be restored faster and more efficiently than full backups for larger databases. For more information about backup types, see Backup Overview (SQL Server)
(http://go.microsoft.com/fwlink/?LinkId=203863).
Use compression during backup
In some circumstances, you can use compression to improve backup size (30% decrease) and times (25% decrease). Backup compression has been in introduced in SQL Server 2008 Enterprise. For more information about how backup compression affects performance in SQL Server, see Backup
Compression (SQL Server) (http://go.microsoft.com/fwlink/?LinkID=129381).
Follow SQL Server backup and restore optimization
recommendations
If you are using SQL Server backups, use a combination of full, differential, and transaction log backups (for the full or bulk-logged recovery model) to minimize recovery time. Differential database backups are usually faster to create than full database backups and reduce the amount of transaction log required to recover the database.
If you are using the full recovery model, we recommend that you periodically truncate the transaction log files to avoid maintenance issues.
For detailed recommendations about how to optimize SQL Server backup and restore performance, see Optimizing Backup and Restore Performance in SQL Server
(http://go.microsoft.com/fwlink/?LinkId=126630).
Use RAID 10 if you are going to use RAID
Carefully consider whether to use redundant array of independent disks (RAID) on the disk backup device. For example, RAID 5 has low write performance, approximately the same speed as for a single disk. (This is because RAID 5 has to maintain parity information.) Using RAID 10 for a backup device may provide faster backups. For more information about how to use RAID with backups, see Configure RAID for maximum SQL Server I/O throughput (http://go.microsoft.com/fwlink/?LinkId=126632).
Configure SharePoint settings for better backup or restore
performance
You can configure settings in both Central Administration and Windows PowerShell to increase backup or restore efficiency and performance.
If you are using the Export-SPWeb Windows PowerShell cmdlet, you can use the
NoFileCompression parameter. By default, SharePoint Server 2010 uses file compression while
suppress file compression while exporting and importing. File compression can use up to 30% more resources, but the exported file will use approximately 25% less disk space. If you use the
NoFileCompression parameter when exporting, you must also use it when you import the same
content.
You can also use the NoLogFile parameter. By default, SharePoint Server 2010 always creates a log file when you export content. You can use this parameter to suppress log file creation to save
resources. However, we recommend that you always create logs. This is because logs can be used in troubleshooting. Moreover, log creation does not use many resources.
These settings are not available through Central Administration.
If you are using the Backup-SPFarm cmdlet, you can use the BackupThreads parameter to specify how many threads SharePoint Server 2010 will use during the backup process. The more threads you specify, the more resources that backup operation will take, but the faster that it will finish, if sufficient resources are available. However, each thread is reported individually in the log files, so using fewer threads makes interpreting the log files easier. By default, three threads are used. The maximum number of threads available is 10.
This setting is also available through Central Administration on the Default Backup and Restore Settings page in the Backup and Restore section.
Consider site collection size when determining the tools to use
If the business requires site collection backups in addition to farm-level or database-level backups, select the tools that you will use based on the site collection size. Less than 15 gigabytes (GB): Use the Windows PowerShell command Backup-SPSite. For more
information, see Back up a site collection (SharePoint Server 2010).
15-100 GB: Use a SharePoint Products and Technologies tool, a SQL Server tool, or other
database backup tool to protect the content database that contains the site collection. For more information, see Back up a site collection (SharePoint Server 2010).
Larger than 100 GB: Use a differential backup solution, such as Microsoft SQL Server 2005 or
DPM 2010, instead of the built-in backup and recovery tools.
Quality assurance best practices
You can follow these best practices to help ensure the quality of the backups of the farm environment and reduce the chances of data loss.
Ensure you have adequate storage space
Note:
Routinely test backup quality
Routinely test backups and validate their consistency. Run practice recovery operations to validate the contents of the backup and to ensure that you can restore the entire environment. For geographically dispersed environments, prepare for disaster recovery by setting up a remote farm. Then you can restore the environment by using the database attach command to upload a copy of the database to the remote farm and redirect users. Periodically perform a trial data recovery operation to verify that the files are correctly backed up. A trial restoration can expose hardware problems that do not show up with software verifications.
Back up ULS trace logs
The SharePoint Server 2010 tools do not back up the ULS trace logs. Data in ULS trace logs can be useful for performance analysis, troubleshooting, monitoring compliance with service-level agreements, and legal, regulatory, or business reasons. Therefore, protect this data as part of the routine
maintenance. For more information about backing up the ULS logs, see Back up or archive logs (SharePoint Server 2010).
Store a copy of backup files off-site
To safeguard against loss from a catastrophic event, such as a fire or earthquake, maintain duplicate copies of backups in a separate location from the servers. Doing so can help protect you against the loss of critical data. As a best practice, keep three copies of the backup media, and keep at least one copy offsite in a controlled environment. This should include all backup and recovery materials, documents, database and transaction log backups, and usage and trace log backups.
Procedural best practices
You can use these procedural best practices to help plan and perform backup and restore operations with better documentation, more ease, and greater assurance.
Use FQDN server names
When referring to servers in a different domain, always use fully qualified domain names (FQDN).
Keep accurate records
When you deploy SharePoint Server 2010, record the accounts that you create, and the computer names, passwords, and setup options that you choose. Keep this information in a safe place.
Have a recovery environment ready
Prepare for restore testing and disaster recovery by setting up a remote farm. Then you can restore the environment by using the database attach command to upload a copy of the database to the remote
farm and redirect users. Similarly, you can set up a standby environment running the same version of software as the production environment so that you can restore the databases and recover documents quickly.
Schedule backup operations
If you want to schedule backups, you can use the Windows Task Scheduler to run them by using a Windows PowerShell script file (*.ps1).
Use the SQL FILESTREAM provider with BLOB storage
If you are using BLOB storage using the SQL FILESTREAM provider and you back up the content database with that Remote BLOB Store (RBS) defined, both the RBS and the content database will be backed up and restored when you use SharePoint tools or SQL Server tools. We do not recommend that you use RBS with other restore methods.
Configuring permissions for backup and
recovery (SharePoint Server 2010)
Before backing up or restoring Microsoft SharePoint Server 2010, you must ensure that the timer service account, SQL Server service account, and users running the backup or restore operations have the correct permissions or are members of the correct Windows security groups or SharePoint groups. These permissions and group memberships must be configured initially. Subsequently, they must be updated when new farm components are added to the environment and if you want to add users who will perform backup and restore operations.
In this topic:
Permissions for the SPTimerV4 timer service and SQL Server account
Group memberships required to run backup and restore operations in Central Administration Setting permissions for running backup and restore operations by using Windows PowerShell
Permissions for the SPTimerV4 timer service and
SQL Server account
The Windows SharePoint Services Timer V4 (SPTimerV4) and the SQL Server service account in SharePoint Server 2010 perform backup and restore operations on behalf of the user. These service accounts require Full Control permissions on any backup folders.
Group memberships required to run backup and
restore operations in Central Administration
You must ensure that all user accounts that will be backing up or restoring your farm and farm components by using Central Administration have the group memberships that are described in the following table.
Required group memberships
Farm component Member of Administrators group on the local computer
Member of Farm Administrators SharePoint group
Farm Yes No
Service Application Yes No
Content Database Yes No
Site Collection No Yes
Setting permissions for running backup and restore
operations by using Windows PowerShell
You must ensure that all user accounts that will be backing up or restoring your farm and farm components by using Windows PowerShell are added to the SharePoint_Shell_Access role for a specified database and have the permissions described in the table later in this section.
You can run the Add-SPShellAdmin cmdlet to add a user account to this role. You must run the
command for each user account. Moreover, you must run the command for all databases to which you want to grant access.
You only need to grant a user account access to back up and restore a specific farm
component one time. You will have to perform this task again only when new farm components are added to your environment or when you want to add users to perform backup and restore operations.
1. Verify that you meet the following minimum requirements: See Add-SPShellAdmin. 2. On the Start menu, click All Programs.
3. Click Microsoft SharePoint 2010 Products. 4. Click SharePoint 2010 Management Shell.
5. At the Windows PowerShell command prompt (that is, PS C:\>), type the following command, and then press ENTER:
Add-SPShellAdmin -Username <User account> -Database <Database ID>
To add a user account to all the databases in the farm, type the following command, and then press ENTER:
ForEach ($db in Get-SPDatabase) {Add-SPShellAdmin -Username <User account> -Database $db}
To remove a user account from all the databases in the farm, type the following command, and then press ENTER:
ForEach ($db in Get-SPDatabase) {Remove-SPShellAdmin -Username <User account> -Database $db}
To view the user accounts currently added to the databases in the farm, type the following command, and then press ENTER:
ForEach ($db in Get-SPDatabase) {Get-SPShellAdmin -Database $db}
For more information, see Add-SPShellAdmin
(http://technet.microsoft.com/library/2ddfad84-7ca8-Note:
To add a user to or remove a user from the SharePoint_Shell_Access role by using Windows PowerShell
You might also have to grant additional permissions to the users running the backup or restore operation by using Windows PowerShell. The following table shows the permissions that are required.
Required permissions for Windows PowerShell
Farm component Member of Administrators group on the local
computer Member of Farm Administrators SharePoint group Full Control on backup folder
Farm Yes No Yes
Service application Yes No Yes
Content database Yes No Yes
Site collection No Yes Yes
Site, list, document library
Backup (SharePoint Server 2010)
The articles in this section are written to meet the requirements of information technology (IT)
professionals who are responsible for the planning, design, deployment, and operations of backup and recovery solutions. These solutions might be in enterprise, corporate, or branch office environments. The IT professionals who are responsible for backup and recovery solutions are expected to have an understanding of the technical details that are contained in this section.
A backup is a copy of data that is used to restore and recover that data after a system failure. Backups allow you to restore data after a failure. If you make the appropriate backups, you can recover from many system failures, including the following:
Media failure
User errors (such as deleting a file by mistake)
Hardware failures (such as a damaged hard disk or permanent loss of a server) Natural disasters
Additionally, it is useful to keep backups of data for routine purposes. Those purposes include copying a database from one server to another, setting up database mirroring, and archiving to comply with regulatory requirements.
Back up all or part of a farm
The following tasks for backup and recovery are performed on the entire farm, farm databases, sites, subsites, or files:
Back up a farm (SharePoint Server 2010)
This article describes the procedures that you can use to back up the entire farm. Back up a farm configuration (SharePoint Server 2010)
This article describes the procedures that you can use to back up farm configuration settings. Copy configuration settings from one farm to another (SharePoint Server 2010)
This article describes the procedures that you can use to copy configuration settings from one farm to another, including how to back up and recover a farm without the content databases, how to back up and recover configurations only, and how to create a deployment script.
Back up a Web application (SharePoint Server 2010)
This article describes the procedures that you can use to back up a Web application that is associated with the farm, including configuration and content databases.
Back up a service application (SharePoint Server 2010)
This article describes the procedures that you can use to back up a service application that is associated with the farm, including configuration and content databases.
Back up search (SharePoint Server 2010)
This article describes the procedures that you can use to back up the Search service application that is associated with the farm, including configuration and indexes.
Back up the Secure Store service (SharePoint Server 2010)
This article describes the procedures that you can use to back up the Secure Store service application that is associated with the farm, including configuration and content databases. Back up a content database (SharePoint Server 2010)
This article describes the procedures that you can use to back up a content database that is associated with the farm.
Back up databases to snapshots (SharePoint Server 2010)
This article describes the procedures that you can use to back up a content database that is associated with the farm by saving the database to a snapshot.
Back up customizations (SharePoint Server 2010)
This article describes the procedures that you can use to back up customizations that are associated with the farm.
Back up a site collection (SharePoint Server 2010)
This article describes the procedures that you can use to back up site collections that are associated with the farm.
Export a site, list, or document library (SharePoint Server 2010)This article describes the procedures that you can use to export a list, site, or document library that is associated with the farm. You can then import the items into another farm or move them to another place in this farm. Back up or archive logs (SharePoint Server 2010)
This article describes the procedures that you can use to back up or archive log files that are associated with the farm.
See Also
Back up a farm (SharePoint Server 2010)
This topic describes how to back up a whole server farm.Procedures in this task:
Use Windows PowerShell to back up a farm Use Central Administration to back up a farm Use SQL Server tools to back up a farm
For information about which tool to use for backups, see Plan for backup and recovery (SharePoint Server 2010)
(http://technet.microsoft.com/library/01abe8d2-33f8-48fe-af76-40522a5afe08(Office.14).aspx).
We recommend that you regularly back up the complete farm by backing up both the configuration and content. Regularly backing up the farm reduces the possibility of data losses that might occur from hardware failures, power outages, or other problems. It is a simple process and helps to ensure that all the farm data and configurations are available for recovery, if that is required.
Considerations when backing up a farm
Consider the following when you prepare to back up a farm. Performing a backup does not affect the state of the farm. However, it does require resources and might slightly affect farm performance when the backup is running. You can avoid performance issues by backing up the farm during hours when farm use is lowest, such as outside office hours. The farm backup process does not back up any certificates that you used to form trust
relationships. Endure that you have copies of these certificates before you back up the farm. You must re-establish these trust relationships after restoring the farm.
Backing up the farm backs up the configuration and Central Administration content databases, but these cannot be restored using Microsoft SharePoint Server 2010 tools. For more information about backing up and restoring all the farm databases, see Move all databases (SharePoint Server 2010). When you back up a farm that contains a Web application that is configured to use forms-based
authentication, you must also use a file backup system to protect the Web.config files because the Web.config files have been updated manually to register the membership and role providers, and manual changes to the Web.config files are not backed up. Similarly, Web.config files are not restored when you restore a Web application. After recovery, you must update the Web.config files and redeploy the providers. For more information, see Plan authentication methods (SharePoint Server 2010)
(http://technet.microsoft.com/library/40117fda-70a0-4e3d-8cd3-0def768da16c(Office.14).aspx) and Configure claims authentication (SharePoint Server 2010) (http://technet.microsoft.com/library/83762baa-b23b-4b63-b14f-350421d9f18a(Office.14).aspx).
SharePoint Server 2010 backup backs up the Business Data Connectivity service external content type definitions but does not back up the data source itself. To protect the data, you should back up the data source when you back up the Business Data Connectivity service or the farm.
If you restore the Business Data Connectivity service or the farm and then restore the data service to a different location, you must change the location information in the external content type
definition. If you do not, the Business Data Connectivity service might not be able to locate the data source.
SharePoint Server 2010 backup backs up remote Binary Large Object (BLOB) stores but only if you are using the FILESTREAM remote BLOB store provider to put data in remote BLOB stores. If you are using another provider, you must manually back up the remote BLOB stores.
If you are using SQL Server with Transparent Data Encryption (TDE), and you are backing up your environment by using either SharePoint tools or SQL Server tools, the TDE encryption key in not backed up or restored. You must backup the key manually. When restoring, you must manually restore the key before restoring the data. For more information, see Understanding Transparent Data Encryption (TDE) (http://go.microsoft.com/fwlink/?LinkID=196394).
Task requirements
Before you begin, you must create a folder on the local computer or the network in which to store the backups. For better performance, we recommend that you back up to the local computer and then move the backup files to a network folder. For more information about how to create a backup folder, see Prepare to back up and recover (SharePoint Server 2010).
Use Windows PowerShell to back up a farm
You can use Windows PowerShell to back up the farm manually or as part of a script that can be run at scheduled intervals.
1. Verify that you meet the following minimum requirements: See Add-SPShellAdmin. 2. On the Start menu, click All Programs.
3. Click Microsoft SharePoint 2010 Products. 4. Click SharePoint 2010 Management Shell.
5. At the Windows PowerShell command prompt, type the following command:
Backup-SPFarm -Directory <BackupFolder> -BackupMethod {Full | Differential} [-Verbose]
Where <BackupFolder> is the path of a folder on the local computer or the network in which you want to store the backups.
Note:
If you are backing up the farm for the first time, you must use the Full option. You must perform a full backup before you can perform a differential backup.
For more information, see Backup-SPFarm (http://technet.microsoft.com/library/c37704b5-5361-4090-a84d-fcdd17bbe345(Office.14).aspx).
Note:
We recommend that you use Windows PowerShell when performing command-line administrative tasks. The Stsadm command-line tool has been deprecated, but is included to support compatibility with previous product versions.
Use Central Administration to back up a farm
You can use Central Administration to back up the farm.1. To perform this procedure, you must be a member of the Farm Administrators group on the computer that is running Central Administration.
2. In Central Administration, on the Home page, in the Backup and Restore section, click
Perform a backup.
3. On the Perform a Backup — Step 1 of 2: Select Component to Back Up page, select the farm from the list of components, and then click Next.
4. On the Start Backup — Step 2 of 2: Select Backup Options page, in the Backup Type section, select either Full or Differential.
Note:
If you are backing up the farm for the first time, you must use the Full option. You must perform a full backup before you can perform a differential backup.
5. In the Back Up Only Configuration Settings section, click Back up content and
configuration settings.
6. In the Backup File Location section, type the UNC path of the backup folder, and then click
Start Backup.
7. You can view the general status of all backup jobs at the top of the Backup and Restore Status page in the Readiness section. You can view the status for the current backup job in the lower part of the page in the Backup section. The status page updates every 30 seconds
automatically. You can manually update the status details by clicking Refresh. Backup and recovery are Timer service jobs. Therefore, it may take several seconds for the backup to start. If you receive any errors, you can review them in the Failure Message column of the Backup and Restore Job Status page. You can also find more details in the Spbackup.log file at the