Maintenance Plan does not clean up old Backup files

on SQL Server 2000 I have a maintenance Plan setup for doing transaction and full backups.  I have it set to keep one backup file.  Periodically it does not delete them for days at a time.  Is this a bug or is there something I can do to fix it?  Also is it fixed in SQL Server 2005?
MaintPlan.jpg
GordonAluminumAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

RDWaibelCommented:
I had this issue in 2000 as well.  I just created a VB app to keep them clean.  I have not noticed this as an issue in 2005
0
k_murli_krishnaCommented:
DB Maint Plan - Remove old backup files older than
http://www.sqldev.org/sql-server-database-engine/db-maint-plan--remove-old-backup-files-older-than-85420.shtml
SQL Server 2000: Old .BAK files not deleting even though specified in maintenance plan
http://www.sqlnewsgroups.net/group/microsoft.public.sqlserver.server/topic6118.aspx
Maintenance back up plan not deleting prior backup
http://www.bigresource.com/Tracker/Track-ms_sql-IbT92pRa/


HOW TO DELETE OLD BACK UP FILES AND TRANSACTION LOGS IN SQL 2005
http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/cee571dd-1e13-49f9-9d41-adab0fa8f5e8
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
pnautaCommented:
I have noticed that this mechanism doesn't work well, especially not when there's a gap between dates of these files.

In SQL 2005 it was broke (worse than SQL2000 IMHO) until at least SP2.  There were huge bugs in the maintenance plan functionality, and it has been partially rewritten between RTM and SP2.  It is very difficult to troubleshoot these plans when they fail.  At least it offers to look at the T-SQL syntax and cut and paste it, so you could execute the statement and check whether it works.  It's so unreliable that Siemens has it's own mechanism for some healthcare and financial suite, called SDMF.  That works rather well.
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.