What is the most important file/data folder in the discourse?

You’ll need a full backup of the entire database in order to restore to a new server.