Update backup.php

This commit is contained in:
Julian Prieber 2022-05-24 15:31:16 +02:00
parent d5467e909e
commit 1b909f94f3

View File

@ -8,7 +8,7 @@ return [
* The name of this application. You can use this name to monitor * The name of this application. You can use this name to monitor
* the backups. * the backups.
*/ */
'name' => env('APP_NAME', 'laravel-backup'), 'name' => 'updater-backups',
'source' => [ 'source' => [
@ -27,8 +27,7 @@ return [
* Directories used by the backup process will automatically be excluded. * Directories used by the backup process will automatically be excluded.
*/ */
'exclude' => [ 'exclude' => [
base_path('vendor'), base_path('backups'),
base_path('node_modules'),
], ],
/* /*
@ -80,7 +79,7 @@ return [
* For a complete list of available customization options, see https://github.com/spatie/db-dumper * For a complete list of available customization options, see https://github.com/spatie/db-dumper
*/ */
'databases' => [ 'databases' => [
'mysql', 'sqlite',
], ],
], ],
@ -116,14 +115,14 @@ return [
* The disk names on which the backups will be stored. * The disk names on which the backups will be stored.
*/ */
'disks' => [ 'disks' => [
'local', 'backups',
], ],
], ],
/* /*
* The directory where the temporary files will be stored. * 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. * 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 * When set to 'default', we'll use ZipArchive::EM_AES_256 if it is
* available on your system. * available on your system.
*/ */
'encryption' => 'default', 'encryption' => null,
], ],
/* /*
@ -165,28 +164,6 @@ return [
*/ */
'notifiable' => \Spatie\Backup\Notifications\Notifiable::class, '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,
],
], ],
/* /*