Congrats! You were lucky. Many who try to recover in panic do more damage.
I didn't get exactly where the site is now running, in the old server or the new server? Whichever take a proper https://docs.moodle.org/en/Site_backup immediately and download it to your local computer. Ideally, you should test the quality of that backup by a https://docs.moodle.org/en/Site_restore somewhere else.