sao lưu và khôi phục ứng dụng dịch vụ Các dịch vụ kiến trúc ứng dụng mới không chỉ cung cấp các kịch bản mới và hấp dẫn trước đây không thể theo thiết kế SSP Offi ce SharePoint Server 2007, nhưng cũng giới thiệu dịch vụ mới, một số với cơ sở dữ liệu liên quan, mà phải được xem xét khi lập kế hoạch tổng thể của bạn sao lưu và khôi phục lại các chiến lược. | 334 CHAPTER 12 CONFIGURING SHAREPOINT 2010 FOR HIGH AVAILABILITY BACKUPS Backing Up and Restoring Service Applications The new service application architecture not only provides new and compelling scenarios previously not possible under Office SharePoint Server 2007 s SSP design but also introduces new services some with databases associated that must be considered when planning your overall backup and restore strategies. Fortunately SharePoint 2010 s native backup and restore capabilities enable both backup and restore of individual service applications with their respective content where applicable and backup and restore of only their unique configuration settings. Backing Up and Restoring Service Applications with Windows PowerShell To back up a service application using Windows PowerShell enter the following command in the Microsoft SharePoint 2010 Management Shell Backup-SPFarm -Directory Backup folder -BackupMethod Full Differential -Item Service application name -Verbose To perform a restore use this command Restore-SPFarm -Directory Backup folder -Item Service application name -RecoveryMethod Overwrite -BackupId GUID -Verbose To specify which backup to use use the BackupId parameter. You can view the backups for the farm by entering the following cmdlet from the SharePoint Management Shell Get-SPBackupHistory -Directory Backup folder -ShowBackup If you do not specify the BackupId the most recent backup will be used. You cannot restore a service application from a configuration-only backup. Backing Up and Restoring Service Applications with Central Administration Follow these steps to back up a service application using Central Administration 1. From the Central Administration home page select Backup and Restore O Perform a backup. 2. First you will choose which service application you want to back up. As with backing up content databases above you can back up one or all but nothing in between. Click a service application to back up and click Next. 3. Next .