Performing a Restore
Performing a
SharePoint farm restore is much the inverse of the backup process.
Assuming you have performed a successful farm backup, the following
steps demonstrate the farm restore process:
- Navigate to the Backup and Restore main page in Central Administration.
- Click the Restore from a Backup link.
- SharePoint displays a page like that in Figure 10.
- Provide the backup directory location.
- Choose the backup instance from the history list, and then click the Next button.
- SharePoint shows a page like that in Figure 11.
Similar to the backup process, this selection screen allows you to choose what configuration and content in the farm to restore.
- Make your selection and then click the Next button.
- The next page (too large to illustrate here) shows various options for the selected service and content configuration.
- Choose whether you wish to overwrite configuration or create new.
- The option to create new services from backup is useful when restoring a new farm from scratch after a disaster.
- Use Overwrite when replacing the existing configuration.
- Click the Start Restore button to begin the restore process.
Using PowerShell
As one might expect, SharePoint allows administrators to perform farm backup with PowerShell.
Note Before embarking on this route of backup/restore, ensure that the user running the script is a member of the SharePoint_Shell_Access role in the main SharePoint configuration database and is a member of the Windows security group WSS_ADMIN_WPG.
Follow these steps to back up the farm using PowerShell.
- From the Start menu, choose All Programs.
- Click Microsoft SharePoint 2013 Products.
- Click SharePoint 2013 Management Shell to launch the console.
- Type the following text into the console, replacing the appropriate placeholders:
Backup-SPFarm –Directory <Backup Folder> -BackupMethod {Full | Differential} [-Verbose]
- Add the [-Force] parameter to force overwrite of existing backup files.
- Add the [-ConfigurationOnly] option to backup configuration without content.
Follow these steps to restore a farm from backup using PowerShell.
- From the Start menu, choose All Programs.
- Click Microsoft SharePoint 2013 Products.
- Click SharePoint 2013 Management Shell to launch the console.
- Type the following text into the console, replacing the appropriate placeholders:
Restore-SPFarm –Directory <Backup Folder> -RestoreMethod {New | Overwrite} [-Verbose]
- Add the [-Force] parameter to force overwrite of existing backup files.
- Add the [-ConfigurationOnly] option to backup configuration without content.