Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Scripting the Maintenance Plan Cleanup Task

$
0
0

Hello all,

Hope all is well. I am currently using SQL Server Maintenance Plan to backup 17 databases on the instance. The plan includes the Maintenance cleanup task transformation to delete backups older than a week. But due to space constraints I want to delete backups older than 1 day (I am backing databases to tape every night) but keep the backups older than a week for only 2 databases. I was looking around the options on the GUI to see if this is possible.

Is there a way that I can achieve this through maintenance plan?

Thanks for your inputs


Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>