restore after firmware upgrade failed?

I have upgraded firmware  17.5.13 MR13 to 18.0.2 MR2. even though the firmware upgrade was successful I can't restore the backup from the earlier version and the system has factory-reset to the  default configuration.

is there any solution to do the firmware upgrade without loosing the configurations?

Thank you..!