Backup Cleanup Task

  • HI,

    I have set up a 2 backup maintenanace Plans on my dev server.

    One for Full backup everyday 7pm.

    one for Trn backup every 30mins.

    I have set up the cleanup task for deleting older than 2 days on both plans

    Trn stuff is getting deleted perfect

    But the Full back up (.bak) stuff is not getting deleted.

    Both maintenance cleanup tasks have been set up similarlly (.trn & .bak).

    Any ideas why .bak files are not getting deleted.

  • Did you create the backups using SQL Server, or did you use a 3rd party tool? The reason I ask is I don't think that the maintenance cleanup task can delete non-SQL files.

  • Also, you might want to check the file extension you set up for the task. It needs to be set as "bak" without the dot (.bak).

  • Thanks for the help

    I was using (.) as ".bak" and I removed the dot

    Now it works

    Thank you.

  • Glad I could help... I wonder how many of us have run into this gotcha?

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply