Skip to content

Commit d8db5a8

Browse files
committed
Version bump: spatie/laravel-backup 8 to 9
1 parent 37b5d03 commit d8db5a8

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

config/backup.php

+13-10
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,14 @@
33
return [
44

55
'backup' => [
6-
76
/*
87
* The name of this application. You can use this name to monitor
98
* the backups.
109
*/
1110
'name' => env('APP_NAME', 'laravel-backup'),
1211

1312
'source' => [
14-
1513
'files' => [
16-
1714
/*
1815
* The list of directories and files that will be included in the backup.
1916
*/
@@ -102,6 +99,14 @@
10299
*/
103100
'database_dump_file_timestamp_format' => null,
104101

102+
/*
103+
* The base of the dump filename, either 'database' or 'connection'
104+
*
105+
* If 'database' (default), the dumped filename will contain the database name.
106+
* If 'connection', the dumped filename will contain the connection name.
107+
*/
108+
'database_dump_filename_base' => 'database',
109+
105110
/*
106111
* The file extension used for the database dump files.
107112
*
@@ -170,12 +175,12 @@
170175
*/
171176
'encryption' => 'default',
172177

173-
/**
178+
/*
174179
* The number of attempts, in case the backup command encounters an exception
175180
*/
176181
'tries' => 1,
177182

178-
/**
183+
/*
179184
* The number of seconds to wait before attempting a new backup if the previous try failed
180185
* Set to `0` for none
181186
*/
@@ -190,7 +195,6 @@
190195
* the `Spatie\Backup\Notifications\Notifications` classes.
191196
*/
192197
'notifications' => [
193-
194198
'notifications' => [
195199
\Spatie\Backup\Notifications\Notifications\BackupHasFailedNotification::class => ['mail'],
196200
\Spatie\Backup\Notifications\Notifications\UnhealthyBackupWasFoundNotification::class => ['mail'],
@@ -226,7 +230,6 @@
226230
'username' => null,
227231

228232
'icon' => null,
229-
230233
],
231234

232235
'discord' => [
@@ -284,7 +287,6 @@
284287
'strategy' => \Spatie\Backup\Tasks\Cleanup\Strategies\DefaultStrategy::class,
285288

286289
'default_strategy' => [
287-
288290
/*
289291
* The number of days for which backups must be kept.
290292
*/
@@ -319,16 +321,17 @@
319321
/*
320322
* After cleaning up the backups remove the oldest backup until
321323
* this amount of megabytes has been reached.
324+
* Set null for unlimited size.
322325
*/
323326
'delete_oldest_backups_when_using_more_megabytes_than' => 5000,
324327
],
325328

326-
/**
329+
/*
327330
* The number of attempts, in case the cleanup command encounters an exception
328331
*/
329332
'tries' => 1,
330333

331-
/**
334+
/*
332335
* The number of seconds to wait before attempting a new cleanup if the previous try failed
333336
* Set to `0` for none
334337
*/

0 commit comments

Comments
 (0)