ERPNext Updating from 13.22.1 to 13.25.1

Hi Revant
Thank you so much for the advice, I went to clean installation and then manually restored the sites to the new installation with your valuable notes in here.
so happy to have fresh installation, since I went through most of the updates along the last year.

however i want to ask,
now i am receiving " Encryption key is invalid, Please check site_config.json " when i am trying to take a backup through the integration / S3 Screen, and whenever i request a report to be emailed.
i still have a backup of the old site_config.json files, shall update the new install configs with the encryption key from the backup ?!

another question is regarding the migrate flag, I didn’t do any migration during the restore process, is that Ok ? my old installation is v13.22.1

thanks again for your efforts