Can anyone help me explain how the log truncate is happening in always available group, consider I have two nodes ,
can anyone explain me how the transaction log backup is happening and how the truncation is happening
Can anyone help me explain how the log truncate is happening in always available group, consider I have two nodes ,
can anyone explain me how the transaction log backup is happening and how the truncation is happening
Best answer by Scott Reynolds
Truncation occurs essentially the same as with a standalone SQL server. However, with AG transaction log backup will occur on the preferred replica for backup which is most cases is the secondary replia.
Logs are truncated and MSSQL handles updating the copy on primary node.
No action is needed, or backup option needed as long as database is in full recovery model and transaction log backup type is ran.
This doc explains where the backup will run and details:
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.