Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

Backing up and transaction log truncation in alwaysON availabilty group.

$
0
0

Hi all,

I am new to SQLserver.

I have a 2 node WSFC with node1 hosting the primary replica and node2 the secondary replica.
Synchronous sync with manual failover is configured for the replicas.

I intend to use my secondary replica for backup and read only traffic.

However, thinking back a core theory that I have read previously,  transaction logs are only truncated/reuse when they are backup.

q1) Does that means I have to

  • a) backup the database and transaction logs as usual in the secondary replica
  • b) backup the transaction logs in the primary replicaeven though no backup is done on it so as to prevent the transaction logs in the primary replica from growing ?

q2) can the transactions logs backup in the primary replica be use in the restoration of the secondary replica with the secondary replica backup ? or I should just delete way the primary replica transaction logs backup

What is the simple , newbie but proper setup for such scenario above ?

Regards,
Noob


Viewing all articles
Browse latest Browse all 4689

Trending Articles