Backup Exec Management Command Line Interface Help
New-BESharePointWebApplicationSelection Cmdlet
Synopsis

Creates a backup selection object for Microsoft SharePoint 2007 and 2010 web applications.

Syntax
New-BESharePointWebApplicationSelection [[-WebApplicationName] [<String>]] [-Exclude [<SwitchParameter>]] [<CommonParameters>]
Description

Creates a backup selection object for Microsoft SharePoint 2007 and 2010 web applications.

Parameters

-WebApplicationName <String>

Specifies the name of a web application. Specify '*' to indicate all available web applications.


Required false
Position 0
Accepts pipeline input true (ByValue ByPropertyName)
Accepts wildcard characters false


-Exclude <SwitchParameter>

Excludes the web application selection specified with the -WebApplicationName parameter.


Required false
Position Named
Accepts pipeline input false
Accepts wildcard characters false


<CommonParameters>

For more information about common parameters, type "Get-Help about_commonparameters".

Input Type
System.String

You can pipe a string object to New-BESharePointWebApplicationSelection.

Return Value
BackupExec.Management.CLI.BESharePointWebApplicationSelection

New-BESharePointWebApplicationSelection returns an BESharePointWebApplicationSelection object.

Examples

Example 1

C:\PS> $x = New-BESharePointWebApplicationSelection -WebApplicationName "WEB_APP1"
C:\PS> Get-BEAgentServer -Local | New-BEBackupDefinition -BackupJobDefault BackupToDisk -SharePointWebApplicationSelection $x | Save-BEBackupDefinition

These commands create a backup definition that backs up the web application named "WEB_APP1" for the local computer using the "BackupToDisk" job defaults.


Example 2
C:\PS> $x = "WEB_APP1" | New-BESharePointWebApplicationSelection
C:\PS> Get-BEAgentServer -Local | Submit-BEOnetimeBackupJob -SharePointWebApplicationSelection $x

These commands submit a one-time backup job that backs up the web application named "WEB_APP1" on the local computer.

Related Links

Get-BEAgentServer
New-BEBackupDefinition
Save-BEBackupDefinition
Submit-BEOnetimeBackupJob


500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.