<?php

return [
    'path' => env('BACKUP_PATH') ?: storage_path('backups'),
    'keep_days' => max(1, (int) env('BACKUP_KEEP_DAYS', 30)),
    'schedule_enabled' => filter_var(env('BACKUP_SCHEDULE_ENABLED', false), FILTER_VALIDATE_BOOL),
    'schedule_time' => env('BACKUP_SCHEDULE_TIME', '01:30'),
    'mysqldump_binary' => env('MYSQLDUMP_BINARY', 'mysqldump'),
    'private_root' => storage_path('app/private'),
];
