--- title: "New-VBRMSSQLOptions" description: "Creates a new Microsoft SQL Server backup options object that defines how Microsoft SQL Server transaction logs and databases are handled during backup jobs." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/new-vbrmssqloptions.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Veeam Plug-Ins for Enterprise Applications, MongoDB Backup and Epic EHR System Protection > Working with Managed Veeam Plug-Ins, MongoDB Backup and Epic EHR System Protection > Application Backup Policy Settings for Veeam Plug-In for Microsoft SQL Server > New-VBRMSSQLOptions" dateModified: "2026-08-19" --- # New-VBRMSSQLOptions ## Short Description Creates a new Microsoft SQL Server backup options object that defines how Microsoft SQL Server transaction logs and databases are handled during backup jobs. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` New-VBRMSSQLOptions [-ParallelChannelsCount ] [-LogBackupChannelsCount ] [-EnableCopyOnlyBackup] [-EnableDifferentialBackups] [] ``` ## Detailed Description This cmdlet applies to application backup policies for Veeam Plug-In for Microsoft SQL Server. Use this cmdlet to configure Microsoft SQL Server specific parameters and apply them to a backup job or database object. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

EnableCopyOnlyBackup

Enables copy-only mode for backups. Using this parameter can prevent backup chain disruptions.

Note: You cannot use this parameter together with the EnableDifferentialBackups parameter.

SwitchParameter

False

Named

False

EnableDifferentialBackups

Enables the creation of differential backups, in addition to full and transaction log backups.

Note: You cannot use this parameter together with the EnableCopyOnlyBackup parameter.

SwitchParameter

False

Named

False

LogBackupChannelsCount

Defines the number of parallel channels used for transaction log backups.

Permitted values: 1 to 64.

Int32

False

Named

False

ParallelChannelsCount

Specifies the number of parallel data channels that Veeam Backup & Replication uses to back up a Microsoft SQL Server database. Increasing the number of channels may increase the load on the Microsoft SQL Server and backup repository.

Permitted values: 1 to 64.

Int32

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object The cmdlet returns the `MSSQLOptions` object that defines Microsoft SQL Server backup settings. ## Examples ::: example ### Create SQL Backup Settings for Application Backup Policies for Veeam Plug-In for Microsoft SQL Server This example shows how to create Microsoft SQL Server backup settings for application backup policies for Veeam Plug-In for Microsoft SQL Server. The policy will send application backups to the target storage using 4 parallel data channels, send transaction log backups using 2 parallel channels and enable copy-only backup mode. ``` New-VBRMSSQLOptions -ParallelChannelsCount 4 -LogBackupChannelsCount 2 -EnableCopyOnlyBackup ``` :::