Whatever the upgrade path, immediately take a clean https://docs.moodle.org/29/en/Site_backup and download the three things there to your own computer!
Installing and upgrading help
Upgrading Moodle on Shared Hosting
This discussion has been locked so you can no longer reply to it.