Run these commands in SharePoint 2010 Management Shell.
To back up the User Profile Service application
Backup-SPFarm -Directory <BackupFolderAtLocalComputer>
-BackupMethod Full -Item “Shared Services\Shared Services Applications\<NameOfUserProfileServiceApplication>”
[-Verbose]
You must also back up the service application proxy.
Backup-SPFarm -Directory < BackupFolderAtLocalComputer > -BackupMethod Full -Item
“Shared Services\Shared Services Proxies\<NameOfUserProfileServiceApplicationProxy>”
[-Verbose]
To restore the User Profile Service application
Restore-SPFarm -Directory <PathOfBackupFolder> -Item
“Shared Services\Shared Services Applications\<NameOfUserProfileServiceApplication>”
-RecoveryMethod Overwrite [-BackupId <GUID>] [-Verbose]
<GUID> is
the identifier of the backup to use in the restore process.
No comments:
Post a Comment