SQL 2014 Mirror on VMware
Backing up SQL 2014 Mirrored VMs on VMware. Netbackup 7.7.1. The backups are always partially successful with a status 1. The Application State Capture job on the passive node returns the following results:
Warning ascc (pid=29156) MSSQL: Skipping database MSSQLSERVER\DB_NAME. The database is in the RESTORING state and cannot be protected.
Just want to confirm this is normal behaviour since it's the secondary node. I find it odd that it would return a status 1 for this reason. I would think that the parent job would be able to determine whether the DBs that are in a "restoring state" were picked up in the child job that runs on the primary node.
Hello arctics2,
yes with VMware based policy, you cannot get rid of status 1 in this case.
You must use intelligent MS-SQL-Server based policy with "Skip unavailable databases" option for mirroring partner, if you wanna run without status 1.
However I would rather run VMware policy because it provides quicker DR. I think that run it once a week is enough for mirroring partner (and once a day or more frequently for the principal).
Regards
Michal
Thanks Michal. This is exactly the confirmation I was looking for.
Regarding the intelligent policy option, as per the guide, database mirroring is not supported for Intelligent policies.
Regarding changing the frequency, my only concern is that if databases failover to the mirroring partner, and I've reduced frequency for the mirror backups, it will be a problem since they are now the principal, and the original principal is now the mirroring partner.
I will leave it as is so both instances are backed up simultaneously (as recommended in the guide), however, I think the parent job should be intelligent enough to complete with a status 0 since the db's were backed up in the principal node.