Hi there,
You can’t just restore from 2->3 without migrating first.
The correct process is to update to the latest in the 2.x series, then update (ideally at command line) to 3. The migration script will migrate the whole instance - files, folders and database.
Of course, ensure you have a working backup first before you start!