Data Backup and Recovery Discussions

Highlighted

SnapCenter SQL Log Only Backup Retention

Hi,

 

I have recently noticed the Up to the Minute retention settings on Full backups only apply for "Full Backup" and "Full and Log Backup".

 

We utilise the "Log Backup" policy quite extensively but there doesn't appear to be a way to specify how to delete these log only backups. The default appears to be 7 days, I would like to set this to be 3 days but there doesn't appear to be a way to do this.

 

All of our "Full backup" jobs are set to keep Up to the Minute for the last 3 days, but this isn't deleting the log only snapshots.

 

Am I missing something?

 

Thanks

1 REPLY 1

Re: SnapCenter SQL Log Only Backup Retention

Hi ,

 

    You can set the Log backup retention via SnapCenter PS cmdlet

 

Set-SmPolicy -PolicyName 'logbkup' -PolicyType Backup -Description 'Log backup Policy' -retentionsettings @{"BackupType"="LOG_SNAPSHOT";"RetentionCount"="3"} -PluginPolicyType "SCSQL" -sqlbackuptype 'logbackup' -CreateLogFolderSnapshot  

View solution in original post

Cloud Volumes ONTAP
Review Banner
All Community Forums
Public