- backup issue fix

This commit is contained in:
Čarodej
2022-05-18 11:17:12 +02:00
parent 1d91d9759e
commit 8bab827d81
+6 -17
View File
@@ -159,26 +159,13 @@ return [
*/ */
'notifiable' => \Spatie\Backup\Notifications\Notifiable::class, 'notifiable' => \Spatie\Backup\Notifications\Notifiable::class,
/*'mail' => [ 'mail' => [
'to' => 'your@example.com', 'to' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
'from' => [ 'from' => [
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
'name' => env('MAIL_FROM_NAME', 'Example'), 'name' => env('MAIL_FROM_NAME', 'Example'),
], ],
],*/
'slack' => [
'webhook_url' => '',
/*
* If this is set to null the default channel of the webhook will be used.
*/
'channel' => null,
'username' => null,
'icon' => null,
], ],
], ],
@@ -189,8 +176,10 @@ return [
*/ */
'monitor_backups' => [ 'monitor_backups' => [
[ [
'name' => env('APP_NAME', 'laravel-backup'), 'name' => env('APP_NAME', 'vuefilemanager-backup'),
'disks' => ['local'], 'disks' => [
env('FILESYSTEM_DISK', 'local')
],
'health_checks' => [ 'health_checks' => [
\Spatie\Backup\Tasks\Monitor\HealthChecks\MaximumAgeInDays::class => 1, \Spatie\Backup\Tasks\Monitor\HealthChecks\MaximumAgeInDays::class => 1,
\Spatie\Backup\Tasks\Monitor\HealthChecks\MaximumStorageInMegabytes::class => 5000, \Spatie\Backup\Tasks\Monitor\HealthChecks\MaximumStorageInMegabytes::class => 5000,