From 8bab827d81d10958d787aa3f73c8212b4edd4f34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=8Carodej?= Date: Wed, 18 May 2022 11:17:12 +0200 Subject: [PATCH] - backup issue fix --- config/backup.php | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/config/backup.php b/config/backup.php index 69017706..67c109d6 100644 --- a/config/backup.php +++ b/config/backup.php @@ -159,26 +159,13 @@ return [ */ 'notifiable' => \Spatie\Backup\Notifications\Notifiable::class, - /*'mail' => [ - 'to' => 'your@example.com', + 'mail' => [ + 'to' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), 'from' => [ 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), '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' => [ [ - 'name' => env('APP_NAME', 'laravel-backup'), - 'disks' => ['local'], + 'name' => env('APP_NAME', 'vuefilemanager-backup'), + 'disks' => [ + env('FILESYSTEM_DISK', 'local') + ], 'health_checks' => [ \Spatie\Backup\Tasks\Monitor\HealthChecks\MaximumAgeInDays::class => 1, \Spatie\Backup\Tasks\Monitor\HealthChecks\MaximumStorageInMegabytes::class => 5000,