SQL Server maintenance plans

  • Hi,

    When I put the backup expires after one week, what does it mean, i.e. does it mean that SQL server will automatically delete those files after a week ? This is when I am not adding my backup to a single file.

  • Yes, it will delete it. If you moved that file, it would still be a valid file. The backups don't "expire," the clean-up will simply delete them.

    Jared
    CE - Microsoft

  • Backups can be set to expire - this is when the backup set can be overwritten with a new one. The maintenance cleanup task is different - it deletes the whole file.

    John

  • John Mitchell-245523 (4/23/2012)


    Backups can be set to expire - this is when the backup set can be overwritten with a new one. The maintenance cleanup task is different - it deletes the whole file.

    John

    Doh! My bad. I misunderstood where the OP was looking.

    Jared
    CE - Microsoft

  • Backup set expire window specifies when the backup set can be overwritten by another backup set.

    It does not delete the physical backup file.

    To remove the physical backup file, you have to add another task 'maintainance cleanup task'.

  • Thats bang on, I was looking for. I have a backup job under maintenance plan but it doesnt delete the files after a week and I am having files getting accumulated and had to delete it manually.

    Thanks a lot viduvs

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

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