Backup Site

Creates a backup of the designated SharePoint site.

If you receive the following error when using this object to create an Automation Manager Policy to backup a SharePoint site, you will need to uninstall PowerShell version 3.0:
The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.

Search for Microsoft KB2506143" or "Windows Management Framework 4.0" to uninstall PowerShell 3.0 and revert back to PowerShell 2.0.

Automation Manager Policies that use SharePoint objects may require using PowerShell Remoting. As a result of this, if the remote computer is in a Workgroup but not connected to a Domain, the Policy will only function properly if it is run by the Administrator account of the remote computer. Attempting to run such a Policy using an account with administrative privileges but that is not the Administrator account will cause the Policy to fail.

Input Parameters

Name Type Required Description
Site URL String Yes The address of the SharePoint site that will be backed up.
Path String Yes The full network path where the backup files will be stored.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Site URL String Yes http://server_name/sites/site_name
Path String Yes C:\Backup\site_name.bak