How can I recover all the Stored procedures, Functions, Events from previous server version
Install the previous version of MySQL you have migrated from. 
Import the dumpfile you have made. 
Dump again in the proper way.
Install the newer MySQL version.
Import your proper backup.