Availability Group Backup maintenance plan

  • dear all i have 3 SQL server nodes in availability group

    and 3 AG (AG1, AG2, AG3 ) server 1 act as primary for AG1,

    serve 2 act as primary for AG2, server 3 act as primary for AG3

    i created backup maintenance plane for every AG on all servers

    mean (server 1 have maintenance plane 1, 2, 3 and server 2 and server 3 the same )

    my case is

    when any AG fail to secondary the backup duplicate in execution

  • Try adding a startup sp on each node to turn off those jobs on the other nodes and turn their own job on

    I'm a DBA.
    I'm not paid to solve problems. I'm paid to prevent them.

  • to declare

    when AG1 fail to the secondary replica (server 2 for example)

    now the backup maintenance plane on server 2 (primary now) occur twice (duplicate on execution)

  • Stop using maintenance plans. Get Ola.Hallengren.com's free and amazing maintenance suite.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • amrmnabil74 (7/27/2016)


    to declare

    when AG1 fail to the secondary replica (server 2 for example)

    now the backup maintenance plane on server 2 (primary now) occur twice (duplicate on execution)

    The main issue here is msdb isn't smart enough to sync the history across all the nodes involved in an AG. I have a connect item opened, vote for it if it you think it helps. Microsoft might add it if it gets enough votes :).

    https://connect.microsoft.com/SQLServer/feedback/details/2324209/msdb-history-sync-alwayson-avalability-groups

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply