WITH ERASEFILES not counting correctly??
fhanlon
Posts: 17 Bronze 2
Maybe I'm going buggy but when I run a backup uing either WITH ERASEFILES = 2 or WITH ERASEFILES=48h, then backups older than 24 hours or 1 day are being deleted. Can you duplicate this on your end? I notice this on my transaction log files. I want to keep 2 days of backup on disk, so I use WITH ERASEFILES=2, but everytime thebackup runs all transation files older than 1 day get removed. :shock:
btw I'm using 4.5 of SQL Backup
btw I'm using 4.5 of SQL Backup
Francis
Comments
Day 1, backup starts at 2 a.m, completes at 2:05 a.m.
Day 2, backup completes at 2:06 a.m.
Day 3, backup completes at 2:07 a.m, in which case day 1's backups are more than 2 days old.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8