Pretty Confused about the cleaning strategy on laravel backup ? #1208
Unanswered
subhadipghorui
asked this question in
Q&A
Replies: 3 comments
-
In the presentation I give some more info: https://youtu.be/fORNQ06K8LY?t=1115 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the reply.☺
…On Sun, Jan 17, 2021 at 1:12 AM Freek Van der Herten < ***@***.***> wrote:
In the presentation I give some more info:
https://youtu.be/fORNQ06K8LY?t=1115
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1208 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALZ4HYNVEND5APVAUR4XX33S2HT2LANCNFSM4WFEAN2A>
.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Good one. Got me confused as well. But this presentation screen helps, the "grandfather-father-son" backup strategy... ![]() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using it on my laravel app. I can't understand how the default cleaning strategy works? I read the documentation but no help.
Can anyone give an example ??
Confused - keep_all_backups_for_days with keep_daily_backups_for_days and keep_weekly_backups_for_weeks
What are daily vs weekly backups?
`'cleanup' => [
/*
* The strategy that will be used to cleanup old backups. The default strategy
* will keep all backups for a certain amount of days. After that period only
* a daily backup will be kept. After that period only weekly backups will
* be kept and so on.
*
* No matter how you configure it the default strategy will never
* delete the newest backup.
*/
'strategy' => \Spatie\Backup\Tasks\Cleanup\Strategies\DefaultStrategy::class,
Beta Was this translation helpful? Give feedback.
All reactions