• Well, wouldn't it be easier to suspend DB mirrorring session in this case?

    In case of upgrade failure: 1)turn off db mirrorring; 2) bring mirror db online.

    3 t-sql statements in total:

    1) ALTER DB SET PARTNER SUSPEND

    2) ALTER DB SET PARTNER OFF

    3) RESTORE DATABASE DB WITH RECOVERY