You can remember the meaning of 只不过 with this easy mnemonic:
Only (只) several students did not (不) pass (过) the exam.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.