storage->id) ->where('save_s3', true) ->with('database') ->get() ->groupBy(fn ($backup) => $backup->database_type.'-'.$backup->database_id); return view('livewire.storage.resources', [ 'groupedBackups' => $backups, ]); } }