Videnbase

Back up a farm in SharePoint Foundation 2010



Article Summary: Back up a farm in SharePoint Foundation 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. To back up a farm by using Windows PowerShell

On the Start menu, click All Programs.

Click Microsoft SharePoint 2010 Products.

Click SharePoint 2010 Management Shell.

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. 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.


Use Central Administration to back up a farm


You can use Central Administration to back up the farm.

To back up a farm by using Central Administration

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.

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 UNC path that you specified in step 6.


Use SQL Server tools to back up a farm

If you want to back up the complete farm, you must use either Windows PowerShell or Central Administration. You cannot back up the complete farm by using the SQL Server tools because you cannot use the tools to back up the farm’s configuration. However, you can back up all the databases that are associated with the farm.

To back up the databases associated with a farm by using SQL Server tools

1. To use SQL Server tools to back up SharePoint Foundation 2010 databases, the account that is used to back up the databases must be a member of the SQL Server db_backupoperator fixed database role on the database server where each database is stored.

2. Open SQL Server Management Studio and connect to the database server.

3. In Object Explorer, expand Databases.

4. Right-click the database that you want to back up, point to Tasks, and then click Back Up.

5. In the Back Up Database dialog box, in the Source area, select the kind of backup that you want to perform from the Backup type list.

6. In the Backup component area, click Database.

7. Either use the default name provided or specify a name for the backup set in the Name text box.

8. Specify the expiration date for the backup set. This date determines how long, or when, the backup set can be overwritten by any later backups that have the same name. By default, the backup set is set to never expire (0 days).

9. In the Destination area, specify where you want to store the backup.

10. Click OK to back up the database.

11. Repeat steps 1-10 for each farm database.





Quick Tips content is self-published by the Dell Support Professionals who resolve issues daily. In order to achieve a speedy publication, Quick Tips may represent only partial solutions or work-arounds that are still in development or pending further proof of successfully resolving an issue. As such Quick Tips have not been reviewed, validated or approved by Dell and should be used with appropriate caution. Dell shall not be liable for any loss, including but not limited to loss of data, loss of profit or loss of revenue, which customers may incur by following any procedure or advice set out in the Quick Tips.

Artikelnummer: SLN291198

Sidste ændringsdato: 10/22/2014 09:20 AM


Bedøm denne artikel

Nøjagtig
Nyttig
Nemt at forstå
Var denne artikel nyttig?
Ja Nej
Send os feedback
Kommentarer må ikke indeholde følgende specialtegn: <>()\
Vi beklager, men feedbacksystemet er nede i øjeblikket. Prøv igen senere.

Mange tak for din feedback.