HP Data Protector 6.11 script solution for Microsoft Office SharePoint Server 2007 and SharePoint Server 2010

12
-reduce
Applicable only to Microsoft SharePoint Server 2010. If this option is specified, the script
excludes mirrored query components from backup to reduce the backup size.
-resumefarm
To be used after restore. This option returns the farm to a working state by resuming all
background activities and crawling, unlocking sites, and starting Microsoft SharePoint Server
services.
Important
The script must be run from the Data_Protector_home\bin directory on the front-end Web
Server system. Ensure that you are logged in under a user account that is configured as
described in ”Configuring user accounts“ and that you open the command prompt with
administrative rights.
Do not close the PowerShell console while the backup session is in progress. If you close the
console during the backup, some actions are not performed: the backup sessions started do
finish, but the farm does not resume the original state. To resume the farm, first run the script
with the resume option and then unquiesce the farm manually using the Microsoft Office
SharePoint Server Central Administration or stsadm.
Starting Windows PowerShell
3. Log in to the front-end Web Server system under a user account that is configured as described
in Configuring user accounts.
4. Open the Windows PowerShell CLI. For example:
Start > Programs > Windows PowerShell 1.0 > Windows PowerShell
In case you have Windows User Account Control (UAC) enabled, ensure that you open the CLI
with administrative rights. Otherwise, you will not be able to run the Data Protector PowerShell
script.
Ensure that the Windows PowerShell execution policy is set to RemoteSigned or
Unrestricted.
Figure 5 shows how the Windows PowerShell execution policy is set to Unrestricted and
how the Data Protector PowerShell script syntax is displayed.