Skip to content

Commit 1b909f9

Browse files
committed
Update backup.php
1 parent d5467e9 commit 1b909f9

File tree

1 file changed

+6
-29
lines changed

1 file changed

+6
-29
lines changed

config/backup.php

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* The name of this application. You can use this name to monitor
99
* the backups.
1010
*/
11-
'name' => env('APP_NAME', 'laravel-backup'),
11+
'name' => 'updater-backups',
1212

1313
'source' => [
1414

@@ -27,8 +27,7 @@
2727
* Directories used by the backup process will automatically be excluded.
2828
*/
2929
'exclude' => [
30-
base_path('vendor'),
31-
base_path('node_modules'),
30+
base_path('backups'),
3231
],
3332

3433
/*
@@ -80,7 +79,7 @@
8079
* For a complete list of available customization options, see https://github.com/spatie/db-dumper
8180
*/
8281
'databases' => [
83-
'mysql',
82+
'sqlite',
8483
],
8584
],
8685

@@ -116,14 +115,14 @@
116115
* The disk names on which the backups will be stored.
117116
*/
118117
'disks' => [
119-
'local',
118+
'backups',
120119
],
121120
],
122121

123122
/*
124123
* The directory where the temporary files will be stored.
125124
*/
126-
'temporary_directory' => storage_path('app/backup-temp'),
125+
'temporary_directory' => base_path('backups'),
127126

128127
/*
129128
* The password to be used for archive encryption.
@@ -138,7 +137,7 @@
138137
* When set to 'default', we'll use ZipArchive::EM_AES_256 if it is
139138
* available on your system.
140139
*/
141-
'encryption' => 'default',
140+
'encryption' => null,
142141
],
143142

144143
/*
@@ -165,28 +164,6 @@
165164
*/
166165
'notifiable' => \Spatie\Backup\Notifications\Notifiable::class,
167166

168-
'mail' => [
169-
'to' => '[email protected]',
170-
171-
'from' => [
172-
'address' => env('MAIL_FROM_ADDRESS', '[email protected]'),
173-
'name' => env('MAIL_FROM_NAME', 'Example'),
174-
],
175-
],
176-
177-
'slack' => [
178-
'webhook_url' => '',
179-
180-
/*
181-
* If this is set to null the default channel of the webhook will be used.
182-
*/
183-
'channel' => null,
184-
185-
'username' => null,
186-
187-
'icon' => null,
188-
189-
],
190167
],
191168

192169
/*

0 commit comments

Comments
 (0)