IT tutorials
 
Applications Server
 

SharePoint 2010: Performing Backups and Restores (part 3) - Example of Performing a SharePoint 2010 Farm Backup and Restore

11/29/2012 11:41:43 AM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

4. Example of Performing a SharePoint 2010 Farm Backup and Restore

Typically, you will schedule your backups during off-peak hours using a script containing Windows PowerShell or STSADM commands. During a disaster recovery, you can use Central Administration to restore the backups that were generated by these scripts. This section demonstrates the use of Windows PowerShell to perform a farm backup, followed by an explanation of how to complete a Central Administration farm restore from the backup created using Windows PowerShell.

4.1. Performing a Farm-Level Backup Using Windows PowerShell

To begin, create a Windows PowerShell script .ps1 file containing the following command:

Backup-SPFarm -Directory \\App01\SharePointBackups -BackupMethod Full

This command is issued from the Central Administration server of your SharePoint farm, and it will perform a backup of all of your SharePoint information including all farm configuration information, databases, Web applications, and service applications. The –Directory parameter indicates that the network share called SharePointBackups on server App01 is where the folder should be created that will contain the files from this backup operation. The –BackupMethod parameter value Full indicates that you are backing up all SharePoint farm information.

When the command completes, you will see a directory located in the SharePointBackups directory with a name similar to spbr0000. The 0000 counter will increase in increments of 1 as you perform future backups.

4.2. Using Central Administration to Restore Your Windows PowerShell Backup

You can use Central Administration to restore the backup you created using Windows PowerShell by following these steps.

  1. In Central Administration, in the Backup And Restore section of the Home page, click Restore From A Backup.

  2. On the Restore From Backup – Step 1 Of 3: Select Backup To Restore page, select the backup job from the list of backups that contains the farm backup, as shown in Figure 2, and then click Next.


    Note:

    If the correct backup job does not appear in the list, enter the UNC path of the correct backup folder in the Backup Directory Location text box and then click Refresh.


    Figure 2. Backups available to restore

  3. On the Restore From Backup – Step 2 Of 3: Select Component To Restore page, select the check box next to the top-level component that you want to restore, as shown in Figure 3, and then click Next.

    Figure 3. Farm components available to restore

  4. On the Restore From Backup – Step 3 Of 3: Select Restore Options page, in the Restore Component section shown in Figure 4, ensure that Farm is the selection that appears in the Restore The Following Content list. In the Restore Only Configuration Settings section, ensure that the Restore Content And Configuration Settings option is selected. In the Restore Options section, select the Type Of Restore option. Use the Same Configuration option to restore the entire farm to the same server. Choose the New Configuration option to restore the entire farm during a disaster recovery or are migrating the farm to a different location. If you select the Same Configuration option, a dialog box will appear that asks you to confirm the operation. Click OK.


    Note:

    If the Restore Only Configuration Settings section does not appear, the backup that you selected is a configuration-only backup. You must select another backup.


    Figure 4. Selecting the type of restore to perform

  5. Click Start Restore.

  6. You can view the general status of all recovery jobs in the Status section at the top of the Backup And Restore Status page, as shown in Figure 5. You can also view the status for the current recovery job in the Restore section in the lower part of the page; the status displayed there automatically updates every 30 seconds. Alternatively, you can update the status details manually by clicking Refresh. 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 Sprestore.log file at the UNC path that you specified earlier in the Backup Directory Location text box.

Figure 5. Restore job status


4.3. Using SQL Server for Backups and Restores

SharePoint information also can be backed up and restored by your SQL Server DBAs or by anyone who is a member of the SQL Server db_backupoperator fixed database role for that database. This method is often utilized when there is a SQL Server DBA who is responsible for all company data. SQL Server DBAs can perform backups and restores using SQL Server Management Studio or using the T-SQL BACKUP DATABASE and RESTORE DATABASE commands. A T-SQL backup also can be scripted and scheduled to run at specified times.

There are several additional options available when performing a backup from within SQL Server that often only a SQL Server DBA will completely understand; the DBA may be able to leverage these options to streamline the restore process, manage the backups, and ensure the integrity of the data. Some of these SQL Server specific options include

  • Creating a copy of the database without affecting the scheduled database backup

  • Setting an expiration date for the backup

  • Performing a transaction log backup

  • Verifying the integrity of the backup on completion

  • Creating a checksum on backed-up data to verify that data was not tampered with

 
Others
 
- SharePoint 2010: Performing Backups and Restores (part 2) - Using STSADM
- SharePoint 2010: Performing Backups and Restores (part 1) - Using Windows PowerShell
- Microsoft Lync Server 2010 : Director Installation (part 2) - Install Server
- Microsoft Lync Server 2010 : Director Installation (part 1) - Prerequisites, Create Director Pool
- Microsoft Lync Server 2010 : Director Overview
- Configuring Windows Server 2008 Active Directory : Creating Objects in Active Directory (part 4) - Finding Objects by Using Dsquery
- Configuring Windows Server 2008 Active Directory : Creating Objects in Active Directory (part 3) - Finding Objects in Active Directory
- Configuring Windows Server 2008 Active Directory : Creating Objects in Active Directory (part 2) - Creating a Group Object, Creating a Computer Object
- Configuring Windows Server 2008 Active Directory : Creating Objects in Active Directory (part 1) - Creating an Organizational Unit, Creating a User Object
- Exchange Server 2010 : Standards and Protocols - Active Directory: The Foundation of Exchange 2010
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us