QBB is a file extension for a backup file format used by Quickbooks desktop.
There is no way to directly import QBB file to QuickBooks Online (QBO).
You will need QuickBooks desktop version program to restore this backup company file. Here is more information on how to restore a backup company file in QB desktop version:
You can then import from the QB program itself (a QBW file) to QuickBooks Online (QBO). If you need to download a 30-day free trial program, see the link below.
Here is a helpful article that should walk you through the conversion from QBDT to QBO process: