Replies: 1 comment 2 replies
-
Version 6.x has no support, upgrade to Laravel Backup 8.x |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello community! I am using "spatie/laravel-backup": "^6.16" in a Laravel 8 project. My cleanup setup is by default. I have the following schedules commands on
My Kernel.php:
I have a cron configured on my server that runs schedule:run every minute. Everything works great, The backups are successful, they are saved in Storage/App/Laravel folder and I get the successful emails (from both scgeducommands).
The email I get everyday of backup:clean command
The email I get everyday of backup:run command
The problem is that old backups do not get deleted. I stacked 18 already and it should stack only 16 according to Backup.php cleanup config by default. What should I do to only keep the backups from the last 16 days? I do not get any log error or email error.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions