Topic Last Modified: 2013-02-21
Retrieves the backup service configuration settings for Lync Server 2013. These settings include information about the maximum number of simultaneous Windows Communication Framework calls that can be made to the backup service as well as the backup service synchronization interval. This cmdlet was introduced in Lync Server 2013.
Syntax
Set-CsBackupServiceConfiguration [-Identity
<XdsIdentity>] <COMMON PARAMETERS>
|
Set-CsBackupServiceConfiguration [-Instance
<PSObject>] <COMMON PARAMETERS>
|
COMMON PARAMETERS: [-AuthorizedLocalAccounts
<String>] [-AuthorizedUniversalGroups <String>]
[-Confirm [<SwitchParameter>]] [-Force
<SwitchParameter>] [-MaxBatchesPerCmsSync <Int32>]
[-MaxBatchesPerUserStoreSync <Int32>] [-MaxConcurrentCalls
<Int32>] [-MaxDataConfPackageSizeKB <Int32>]
[-SyncInterval <TimeSpan>] [-WhatIf
[<SwitchParameter>]]
|
Examples
Example 1
The command shown in Example 1 assigns the Active Directory security group Schema Admins to the AuthorizedUniversalGroup property for the global collection of backup service settings.
Copy Code | |
---|---|
Set-CsBackupServiceConfiguration -Identity "global" -AuthorizedUniversalGroup "Schema Admins" |
Example 2
In Example 2, the MaxConcurrentCalls property of the global collection of backup service settings is set to 12.
Copy Code | |
---|---|
Set-CsBackupServiceConfiguration -Identity "global" -MaxConcurrentCalls 12 |
Example 3
Example 3 modifies the SyncInterval property of the global collection of backup service settings. In this example, SyncInterval is set to 10 minutes: 00 hours : 10 minutes : 00 seconds.
Copy Code | |
---|---|
Set-CsBackupServiceConfiguration -Identity "global" -SyncInterval "00:10:00" |
Detailed Description
The backup service configuration settings are used to manage pool backups in Lync Server 2013. Note that Lync Server allows only for a single, global collection of backup configuration settings. Among other things, that means that all your pools must be backed up using the same synchronization schedule, and that users and groups authorized to backup Pool A are also allowed to backup Pools B, C, D, and E.
To return a list of all the role-based access control (RBAC) roles this cmdlet has been assigned to (including any custom RBAC roles you have created yourself), run the following command from the Windows PowerShell command-line interface prompt:
Get-CsAdminRole | Where-Object {$_.Cmdlets –match "Set-CsBackupServiceConfiguration"}
Lync Server Control Panel: The functions carried out by the Set-CsBackupServiceConfiguration cmdlet are not available in the Lync Server Control Panel.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
AuthorizedLocalAccounts |
Optional |
System.String |
Names of the local users/local groups that are authorized to run the backup service. The default value is Network Service. |
AuthorizedUniversalGroups |
Optional |
System.String |
Names of the universal groups authorized to run the backup service. The default value is Schema admins. |
Confirm |
Optional |
System.Management.Automation.SwitchParameter |
Prompts you for confirmation before executing the command. |
Force |
Optional |
System.Management.Automation.SwitchParameter |
Suppresses the display of any non-fatal error message that might occur when running the command. |
Identity |
Optional |
Microsoft.Rtc.Management.Xds.XdsIdentity |
Unique identifier for the backup service configuration settings. Because you can only have a single, global instance of these settings, you do not need to specify an Identity when calling the Set-CsBackupServiceConfiguration cmdlet. If you prefer, however, you can use the following syntax to reference the global settings: -Identity global |
Instance |
Optional |
System.Management.Automation.PSObject |
Allows you to pass a reference to an object to the cmdlet rather than set individual parameter values. |
MaxBatchesPerCmsSync |
Optional |
System.Int32 |
Maximum number of batches that the CMS backup module will export during each export cycle. The default value is 500. |
MaxBatchesPerUserStoreSync |
Optional |
System.Int32 |
Maximum number of batches that the User Store backup module will export during each export cycle. The default value is 500. |
MaxConcurrentCalls |
Optional |
System.Int32 |
The maximum number of Windows Communication Foundation (WCF) calls that can be made to the backup service at the same time. The default value is 10. |
MaxDataConfPackageSizeKB |
Optional |
System.Int32 |
Maximum size of the data package (in kilobytes) that the Data Conference module will export during each export cycle. The default value is 102400. |
SyncInterval |
Optional |
System.TimeSpan |
Specifies the amount of time that the service waits before synchronizing a pool with its backup pool. The default value is 2 minutes (00:02:00, or 00 hours, 02 minutes, 00 seconds). The SyncInterval can be configured to any value between 5 seconds (00:00:05) and 3 hours (03:00:00), inclusive. |
WhatIf |
Optional |
System.Management.Automation.SwitchParameter |
Describes what would happen if you executed the command without actually executing the command. |
Input Types
The Set-CsBackupServiceConfiguration cmdlet accepts piped instances of the Microsoft.Rtc.Management.WritableConfig.Settings.BackupService.BackupServiceConfiguration object.
Return Types
None. Instead, the Set-CsBackupServiceConfiguration cmdlet modifies existing instances of the Microsoft.Rtc.Management.WritableConfig.Settings.BackupService.BackupServiceConfiguration object.