Hi Szymon,
the scenarios are stored in the IFSERV database.
Stop the integration service and restore the IFSERV database, afterwards overinstall/upgrade using the Integration Framework installer.
Please make sure the installer is in upgrade/repair mode and does not try to create a new IFSERV database.
Best regards
Bastian