Transfer avatars

Hello,
I need transfer all user photos/avatars from my old Openfire 3.10.3 to new Openfire 4.2.3.
How I can do this and where avatars store?

There are stored in mysql db “ofVCard” table.