Does SQL Server Maintainance Cleanup consider exact times when deleting old backups?
- by Heinzi
Let's say I have a daily maintainance task that:
Backups all databases and then
removes backups that are older than 3 days.
Now let's say the first backup at day 1, starting at 10:00, results in the following files
db1.bak 2012-01-01 10:04
db2.bak 2012-01-01 10:06
Now let's say at day 4 the first step of the maintainance task (backup the DBs) happens to finish at 10:05. Will SQL Server
delete db1.bak and keep db2.bak (would be logical, but might be surprising for the user) or
keep both or
remove both?