24 lines
972 B
PHP
24 lines
972 B
PHP
<?php
|
||
|
||
return [
|
||
/*
|
||
|--------------------------------------------------------------------------
|
||
| Backup Settings
|
||
|--------------------------------------------------------------------------
|
||
|
|
||
| Used by workkit:db:backup, workkit:db:restore and
|
||
| workkit:db:prune-backups. The default `path` is storage_path('backups')
|
||
| so backups live alongside the rest of the app's storage. `retention_days`
|
||
| is the threshold workkit:db:prune-backups uses by default — anything
|
||
| older than that gets deleted on the next prune run.
|
||
|
|
||
*/
|
||
'backup' => [
|
||
'path' => env('WORKKIT_BACKUP_PATH'), // null → storage_path('backups')
|
||
'retention_days' => (int) env('WORKKIT_BACKUP_RETENTION_DAYS', 30),
|
||
// xz compression level. Lower = faster + larger output. 3 is a
|
||
// good default for SQL dumps (~10× ratio at ~3× the speed of -9).
|
||
'xz_level' => (int) env('WORKKIT_BACKUP_XZ_LEVEL', 3),
|
||
],
|
||
];
|