I have been beating my head against this wall for a very long time, hopefully folks here can help me get this right.
Our site was running well on a godaddy shared hosting environment, but then couldn't upgrade, and short version of a long story, the shared hosting became completely unusable. The old site is gone, we have only the backed up data.
Someone (godaddy systems administrator screw up or a hacker, they can't figure out which) at some point deleted everything on the site, but fortunately we have earlier automatic backup snapshot tarballs.
The godaddy server was running 3.3.2 before it died. I have the complete backups of the moodle html directory, and the mysql database. These are not exports, these are automated backup tarball snapshots. The new server is Ubuntu 16.04.5 LTS
I extracted the tarball onto the new server. Configured apache to read the dir, updated permissions, imported the database into a fresh mysql/mariadb database. And after some fiddling had the site up, except it is only a plain emply moodle site. ???
None of the users, coursework, etc. shows up in the moodle web interface, but SQL queries show the data is in the database, and I see the files on the server in the web directory.
Is there a howto that might be applicable to what I'm doing?
Or can some one help walk me through the correct steps for this type of use case situation for recovery?
I can setup whatever infrastructure is necessary to facilitate this the best.
I have tried this several different ways from just a plain extraction as one approach. Another approach was to create a clean install of 3.3.8 (build 20181019), and then trying to import through mysql < dbname.sql.
And a few other variants, but while I don't have trouble getting it into the database, I can't seem to get it show up in the web interface of Moodle,and only get the default install admin user.
I am happy to start from scratch again to import this data by whatever is the best means possible.
Thanks for any help!
Old shared godaddy Moodle version: 3.3.2
New server operating system: Ubuntu 16.04.5 LTS