From 1b909f94f3ae36ccfe7fe66ac3fcc7517eaf532b Mon Sep 17 00:00:00 2001 From: Julian Prieber <60265788+JulianPrieber@users.noreply.github.com> Date: Tue, 24 May 2022 15:31:16 +0200 Subject: [PATCH] Update backup.php --- config/backup.php | 35 ++++++----------------------------- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/config/backup.php b/config/backup.php index 20cbfa7..a066fc8 100644 --- a/config/backup.php +++ b/config/backup.php @@ -8,7 +8,7 @@ return [ * The name of this application. You can use this name to monitor * the backups. */ - 'name' => env('APP_NAME', 'laravel-backup'), + 'name' => 'updater-backups', 'source' => [ @@ -27,8 +27,7 @@ return [ * Directories used by the backup process will automatically be excluded. */ 'exclude' => [ - base_path('vendor'), - base_path('node_modules'), + base_path('backups'), ], /* @@ -80,7 +79,7 @@ return [ * For a complete list of available customization options, see https://github.com/spatie/db-dumper */ 'databases' => [ - 'mysql', + 'sqlite', ], ], @@ -116,14 +115,14 @@ return [ * The disk names on which the backups will be stored. */ 'disks' => [ - 'local', + 'backups', ], ], /* * The directory where the temporary files will be stored. */ - 'temporary_directory' => storage_path('app/backup-temp'), + 'temporary_directory' => base_path('backups'), /* * The password to be used for archive encryption. @@ -138,7 +137,7 @@ return [ * When set to 'default', we'll use ZipArchive::EM_AES_256 if it is * available on your system. */ - 'encryption' => 'default', + 'encryption' => null, ], /* @@ -165,28 +164,6 @@ return [ */ 'notifiable' => \Spatie\Backup\Notifications\Notifiable::class, - 'mail' => [ - 'to' => 'your@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, - - ], ], /*