Set-CsBackupServiceConfiguration
Retrieves the backup service configuration settings for Skype for Business Server. 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
Identity
Set-CsBackupServiceConfiguration
[[-Identity] <XdsIdentity>]
[-AuthorizedLocalAccounts <String>]
[-AuthorizedUniversalGroups <String>]
[-Confirm]
[-Force]
[-MaxBatchesPerCmsSync <Int32>]
[-MaxBatchesPerUserStoreSync <Int32>]
[-MaxConcurrentCalls <Int32>]
[-MaxDataConfPackageSizeKB <Int32>]
[-SyncInterval <TimeSpan>]
[-WhatIf]
[-MaxHighPriQueuePercentagePerUserStoreSync <Int32>]
[-EnableRgsBackupService <Boolean>]
[<CommonParameters>]
Instance
Set-CsBackupServiceConfiguration
[-AuthorizedLocalAccounts <String>]
[-AuthorizedUniversalGroups <String>]
[-Confirm]
[-Force]
[-Instance <PSObject>]
[-MaxBatchesPerCmsSync <Int32>]
[-MaxBatchesPerUserStoreSync <Int32>]
[-MaxConcurrentCalls <Int32>]
[-MaxDataConfPackageSizeKB <Int32>]
[-SyncInterval <TimeSpan>]
[-WhatIf]
[-MaxHighPriQueuePercentagePerUserStoreSync <Int32>]
[-EnableRgsBackupService <Boolean>]
[<CommonParameters>]
Description
The backup service configuration settings are used to manage pool backups in Skype for Business Server. Note that Skype for Business 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.
Skype for Business Server Control Panel: The functions carried out by the Set-CsBackupServiceConfiguration
cmdlet are not available in the Skype for Business Server Control Panel.
Examples
Example 1
Set-CsBackupServiceConfiguration -Identity "global" -AuthorizedUniversalGroups "Schema Admins"
The command shown in Example 1 assigns the Active Directory security group Schema Admins to the AuthorizedUniversalGroups property for the global collection of backup service settings.
Example 2
Set-CsBackupServiceConfiguration -Identity "global" -MaxConcurrentCalls 12
In Example 2, the MaxConcurrentCalls property of the global collection of backup service settings is set to 12.
Example 3
Set-CsBackupServiceConfiguration -Identity "global" -SyncInterval "00:10:00"
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.
Parameters
-AuthorizedLocalAccounts
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
Names of the local users/local groups that are authorized to run the backup service. The default value is Network Service.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-AuthorizedUniversalGroups
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
Names of the universal groups authorized to run the backup service. The default value is Schema admins.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Confirm
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
Prompts you for confirmation before executing the command.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-EnableRgsBackupService
Applicable: Skype for Business Server 2019
Indicates whether the backup service for RGS has been enabled or not. If it is set to true RGSBackupService will start syncing RGS data on paired pools
Parameter properties
Type: | Boolean |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Force
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
Suppresses the display of any non-fatal error message that might occur when running the command.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Identity
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
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
Parameter properties
Type: | XdsIdentity |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Identity
Position: | 2 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Instance
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
Allows you to pass a reference to an object to the cmdlet rather than set individual parameter values.
Parameter properties
Type: | PSObject |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Instance
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-MaxBatchesPerCmsSync
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
Maximum number of batches that the CMS backup module will export during each export cycle. The default value is 500.
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-MaxBatchesPerUserStoreSync
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
Maximum number of batches that the User Store backup module will export during each export cycle. The default value is 500.
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-MaxConcurrentCalls
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
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.
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-MaxDataConfPackageSizeKB
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
Maximum size of the data package (in kilobytes) that the Data Conference module will export during each export cycle. The default value is 102400.
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-MaxHighPriQueuePercentagePerUserStoreSync
Applicable: Skype for Business Server 2015, Skype for Business Server 2019
PARAMVALUE: Int32
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-SyncInterval
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
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.
Parameter properties
Type: | TimeSpan |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-WhatIf
Applicable: Lync Server 2013, Skype for Business Server 2015, Skype for Business Server 2019
Describes what would happen if you executed the command without actually executing the command.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
Microsoft.Rtc.Management.WritableConfig.Settings.BackupService.BackupServiceConfiguration
The Set-CsBackupServiceConfiguration
cmdlet accepts piped instances of the Microsoft.Rtc.Management.WritableConfig.Settings.BackupService.BackupServiceConfiguration object.
Outputs
None
Instead, the Set-CsBackupServiceConfiguration
cmdlet modifies existing instances of the Microsoft.Rtc.Management.WritableConfig.Settings.BackupService.BackupServiceConfiguration object.