ERASEFILES=1, by hours, by date?
joshmurrah
Posts: 24
How does ERASEFILES=1 calculate what can be removed?
I'm evaluating this software, and it seems that it's keeping any backups that are less than two calendar days old with this logic... for example, backups that were made yesterday in the AM are still there after a backup is complete this afternoon. So looks like with this option set to 1, I would always have two backups, yesterday's and today's, which isn't what I want for space reasons.
Thanks for any response,
I'm evaluating this software, and it seems that it's keeping any backups that are less than two calendar days old with this logic... for example, backups that were made yesterday in the AM are still there after a backup is complete this afternoon. So looks like with this option set to 1, I would always have two backups, yesterday's and today's, which isn't what I want for space reasons.
Thanks for any response,
-Josh Murrah
Comments
A bug in the logic is that the comparison to the existing files is made via reference to the GMT timestamp of these files, instead of the local timestamp. You can obtain a patch for this from support.
In the next version, these two options will accept parameters in hours, in addition to days.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8