Closed JoshMountain closed 8 years ago
I can't seem to reproduce this. Are you sure the backups are being made in the first place?
@freekmurze Yeah, I can run php artisan backup:run
manually and it will generate a backup and send it to the remote storage like so:
but when I run php artisan backup:clean
I get this:
Which version of the package are you using?
3.10.2 in that project
The line with deleteOldestBackupsWhenUsingMoreMegabytesThan
is commented. I'm thinking that the package now interprets that value as being 0, so it will cleanup everything except the youngest backup.
Try uncommenting that line.
That solved the issue, thank you!!
👍
@freekmurze as a follow-up to my tweet, here is a copy of my config. I am trying to have the system store exactly 90 daily backups and nothing else. On the 91st day the oldest backup would be cleaned.