Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

SQL Server 2008 R2 - Maintenance Cleanup Task Runs but doesn't cleanup

$
0
0

Hey Spiceheads,

I have a SQL Server 2008 R2 with 12 local databases. I setup a new maintenance plan to cleanup database backups (.bak files) older than 3 days to save disk space on the local server. All the database backups get backed up nightly so only keeping them for 3 days isn't an issue.

The database backups are stored in E:\GP Database Backups and in a subfolder so the structure looks similar to this:

E:\GP Database Backups\DB1
E:\GP Database Backups\DB2
E:\GP Database Backups\DB3
etc..

Attached an image of the maintenance task. It runs successfully but doesn't actually clean up the old database backup files.

Hopefully it's just something small I am missing but need an extra set of eyes on this one.

Thanks!


Viewing all articles
Browse latest Browse all 4871

Trending Articles