Skip to main content
Question

MS SQL Backup Plugin

  • December 3, 2025
  • 6 comments
  • 35 views

In MS SQL Plugin, is there any option to define the retention Policy for Log Backup 

6 comments

matheusgiovanini
Forum|alt.badge.img+7

The Veeam MS SQL Plugin does support a retention policy, but it does not allow you to define a separate retention period specifically for transaction log backups.

Retention is applied to the entire backup chain (full + differential + log).

This means that log backups cannot have their own independent retention policy, they are kept as long as the full backup they depend on is still within retention.

You can read the entire guide here:

https://helpcenter.veeam.com/archive/backup/120/plugins/mssql_retention.html

https://forums.veeam.com/veeam-backup-replication-f2/veeam-plug-in-for-sql-transaction-log-retention-t89906.html

 

 


AndrePulia
Forum|alt.badge.img+9
  • Veeam Vanguard
  • December 3, 2025

@appadmin Unfortunately there is no option for that!


Mohamed Ali
Forum|alt.badge.img+2
  • VUG Leader
  • December 4, 2025

I agree with what others have said. There is no separate, independent retention field only for log backups. Retention applies to the entire backup chain for each database. When a backup chain becomes older as per retention, Veeam deletes the whole chain, including its log backups.

 

 

 


Marcel.K
Forum|alt.badge.img+9
  • Veeam Legend
  • December 4, 2025

Hi ​@appadmin ,

you can manually define separate Agent jobs: one job runs a full (or differential) backup, another runs a transaction-log backup. In each job you can define separate retention policy.


Mohamed Ali
Forum|alt.badge.img+2
  • VUG Leader
  • December 4, 2025

Hi ​@appadmin ,

you can manually define separate Agent jobs: one job runs a full (or differential) backup, another runs a transaction-log backup. In each job you can define separate retention policy.

I believe you can enable the logs backup inside the parent job, not as a second job (separately log only)? 


Marcel.K
Forum|alt.badge.img+9
  • Veeam Legend
  • December 4, 2025

Hi ali

Hi ​@appadmin ,

you can manually define separate Agent jobs: one job runs a full (or differential) backup, another runs a transaction-log backup. In each job you can define separate retention policy.

I believe you can enable the logs backup inside the parent job, not as a second job (separately log only)? 

Hi Ali, question was for plugin. So agent job i meant in SQL like ms studio. 

In your question is of course possible to set separate different retention for logs in application processing section ...