SQL 2005 backup Maintenance Plans

a backup maintenance plan was created.  "Backup set will expire" was set to 2 days.  I assumed that meant SQL would delete the old backup files due to their expiring?  This is not occurring.  What is the process to get the old backups deleted?  I do not wish to have dozens of full backups.  I only want to have 2 sets of full backups.
dastaubAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dastaubAuthor Commented:
I did notice the file names SQL gives the full backups and transaction log backups are given unique names by adding the date and time to the name of the backup file name.
0
Aneesh RetnakaranDatabase AdministratorCommented:
there is a task  "Cleanup backup files" , you can use that to delete the data older than 2 days.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Steve WalesSenior Database AdministratorCommented:
In SQL Server 2005 the task is actually called "Maintenance Cleanup Task".  You can add that as a step after your backup to clean up files older than "x" days.

You should also run the History Cleanup Task as well from time to time to clean up your backup history out of msdb.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.