About protecting the preferred replica in a SQL Server availability group (batch file-based policies)
You can use a SQL Server Intelligent Policy to protect the preferred or primary replica in a SQL Server availability group. Note the following before you configure the policy:
To protect the preferred replica, use the PREFERREDREPLICA PREFERRED keyword. NetBackup honors your SQL Server backup preferences. These preferences include the preferred replica, backup priority, and excluded replicas. NetBackup backs up the preferred replica, as determined by SQL Server.
To protect the primary replica, use the PREFERREDREPLICA PRIMARY keyword.
NetBackup can only fully protect the availability group environment if the backup policy includes each replica on which backups occur in the list. Also, all batch files in the list must exist on each replicas on which backups occur.
Note that a backup job runs on each replica in the availability group. On replicas which are not the backup source, the job skips the backup.
Review the information on support and limitations for availability groups.
Review the prerequisites for protecting the availability group.
See Prerequisites for protecting SQL Server availability groups.