After cron ran on a site that I have the "only keep ___ copies" enabled on, the older backups for the site were removed, as expected, but it also emptied the whole bucket other than the most current backups of that site. Is that what it's supposed to do? Or should there be some check that only touches files that match the [site-name]-timestamp filename?

Comments

ronan’s picture

Status: Active » Closed (won't fix)

No there's no check for that. You shouldn't save scheduled backups to a directory that has or may have other files in it. It would be nearly impossible to check the file names, because that pattern is user editable.