New-SfBBackup

#onlinehelp, #lync, #powershell edit this page

This script exports Lync Core Data and Settings according to the documentation availabe on TechNet It is intended to be run as scheduled task, the Retention parameter can be used to indicate how long to keep existing backup files in the target directory.

Inputs

None. This script does not take any pipeline input.

Outputs

None. This script does not write any output to the pipeline.

Permissions

The Account used to run this script needs to be member of the RTCUniversalServerAdmins group.

Example 1

.\New-SfBBackup.ps1 -PoolFqdn lyncpool01.example.com -Path \\SERVER\Share\CSBackup

This example exports Lync config and saves it into a subfolder at \\SERVER\Share\CSBackup

Example 2

.\New-SfBBackup.ps1 -PoolFqdn lyncpool01.example.com -Path \\SERVER\Share\CSBackup -Retention 10

This example exports Lync config and saves it into a subfolder at \\SERVER\Share\CSBackup. It deletes existing backups in the destination directory if they are older than 10 days.

Download & Source for New-SfBBackup

The is available on the PowerShell Gallery, you can install or download it using the following commands:

Install-Script -Name New-SfBBackup -Scope CurrentUser
Save-Script -Name New-SfBBackup -Path <Path>

And you can find the source on GitHub: tomtorggler/PowerShell