Restore failing with missing chat_mention function

I’m going to test this today, but my current assumption is that restoring works as soon as the destination site is fully up-to-date.

It looks like the problem is that the version check at the beginning of the restore doesn’t detect that the source actually had a newer DB schema than the destination.

Yes, I believe that’s true.