Closed unnathianalytics closed 2 weeks ago
You have to add
/*
* If specified, the database dumped file name will contain a timestamp (e.g.: 'Y-m-d-H-i-s').
*/
'database_dump_file_timestamp_format' => null,
/*
* The base of the dump filename, either 'database' or 'connection'
*
* If 'database' (default), the dumped filename will contain the database name.
* If 'connection', the dumped filename will contain the connection name.
*/
'database_dump_filename_base' => 'database',
To your config file
Well there are plenty of new keys in config so it is better to copy everything from latest version into your backup.php config file.
In my case I was using Spatie Multitenancy, and I just had to switch.
'database_dump_filename_base' => 'connection'.
super easy 🐣♥️.
Getting this error :
"Undefined array key "database_dump_filename_base" at vendor\spatie\laravel-backup\src\Config\BackupConfig.php:40" Please help Laravel version 11.20 PHP 8.3