As this is a dual stack then you will need to do an export and import of the Java stack.
If you are restoring the database backup for the ABAP part then after the ABAP part has been completed launch sapinst on the source system and export just the Java stack. Once done perform the import on the target stack.
You need to check the box that read "Use Database Specific Tools" in sapinst
Regards
RB