You need to find out which version via the.sql backup file as the daatbase structure changed a couple of times between 3.3 and 3.4.1. The database version number is stored in the wp-options table under the option name db_version.