Creates a backup selection object for Microsoft SQL databases.
Creates a backup selection object for Microsoft SQL databases.
Specifies a SQL instance name. Specify '*' to indicate all available SQL instances.
Required | true |
Position | 0 |
Accepts pipeline input | true (ByPropertyName) |
Accepts wildcard characters | false |
Specifies a SQL database name. Specify '*' to indicate all available SQL databases.
Required | false |
Position | 1 |
Accepts pipeline input | true (ByPropertyName) |
Accepts wildcard characters | false |
Excludes the SQL Instance/Database selection specified with the -InstanceName parameter and the -DatabaseName parameter.
Required | false |
Position | Named |
Accepts pipeline input | false |
Accepts wildcard characters | false |
For more information about common parameters, type "Get-Help about_commonparameters".
This cmdlet does not accept any input.
New-BESqlDatabaseSelection returns an BESqlDatabaseSelection object.
These commands create a backup definition that backs up the SQL database named "DB1" in the SQL instance named "Instance1" for the local computer using the "BackupToDisk" job defaults.
These commands submit a one-time backup job that backs up the Exchange database named "DB1" in the SQL instance named "Instance1" on the local computer.