Expand Minimize
This topic has not yet been rated - Rate this topic

AvailabilityGroupAutomatedBackupPreference Enumeration

SQL Server 2012

Specifies how replicas in the primary role are treated in the evaluation to pick the desired replica to perform a backup.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)
public enum AvailabilityGroupAutomatedBackupPreference
Member nameDescription
PrimaryBackups occur only on the primary replica, wherever it is.
SecondaryOnlyBackups occur only on the secondary replicas. If no secondary replicas are online, backup will not be performed.
SecondaryBackups occur on the secondary replicas, except when the primary replica is the only replica online.
NoneNo preference is stated for backup on replicas based on its current role. Only BackupPriority and online/connected states will be considered for replica choice.
UnknownThe desired replica to perform a backup is unknown.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.