Designing a Microsoft SharePoint 2010 Infrastructure Vol 2 part 30. This course is intended for IT Professionals who use Microsoft SharePoint 2010 in a team-based, medium-sized to large environment. While they may have implemented a SharePoint deployment, they have limited experience in designing a SharePoint infrastructure. They likely work as a senior administrator who acts as a technical lead over a team of administrators. Members of this audience should have at least 6 months experience with SharePoint 2010. | Planning Business Continuity 14-45 Scripting Backup and Restore for SharePoint Server 2010 SharePoint 2010 Management Shell built on Windows PowerShell Use cmdlets for getting creating and configuring various SharePoint objects such as sites site collections Web applications and service applications SharePoint backup and restore cmdlets Backup-SPFarm Restore-SPFarm Backup-SPSite Restore-SPSite Export-SPWeb Import-SPWeb Backup-SPConfiguiationDatabase Can run cmdlets remotely for centralized backups Key Points Windows PowerShell is the command-line tool and supporting scripting language from Microsoft for Windows administration. In the context of SharePoint Server 2010 administration it supersedes the administration tool. Windows PowerShell provides both a general command-line interface and a SharePoint-specific add-in tool called the SharePoint 2010 Management Shell. SharePoint Backup and Restore Cmdlets There are over 500 SharePoint-related cmdlets for performing various tasks such as getting creating configuring and deleting on various SharePoint objects such as sites site collections Web applications and service applications. Each object has several specifically related commands. Of these SharePoint-related cmdlets several have been designed to cover major backup and restore operations and they include MCT USE ONLY. STUDENT USE PROHIBITED 14-46 Designing a Microsoft SharePoint 2010 Infrastructure Backup-SPFarm Restore-SPFarm Backup-SPSite Restore-SPSite Export-SPWeb Import-SPWeb Backup-SPConfigurationDatabase For example you could run the following scripts in the SharePoint 2010 Management Shell to back up and restore your SharePoint Server 2010 farm configuration database. Backup-SPConfigurationDatabase -Directory c backups -DatabaseServer servername -DatabaseName SharePoint_Config Restore-SPFarm -Directory c backups -RestoreMethod Overwrite -ConfigurationOnly Performing Remote Backup and Restore of SharePoint In addition Windows PowerShell includes a