always on中AG的辅助副本实例,配置了logshipping到其他服务器,这个辅助副本实例上的backup log job报错:
The backup operation on database ‘TESTDB’ was skipped because it is part of an availability group and not its preferred backup replica.
解决方法
1、确保辅助副本的实例名和机器名一致
2、在always on可用性组中的备份首选项中设置为任意副本,且辅助副本的备份优先级高于主副本,比如设置辅助副本为51,主副本为50