Restoring a backup of a previous website using saved files

I recently had to format my computer. Before doing so I copied the files in the root directory which I believe would allow me to recreate the website I was working on inside flywheel. The files I have backed up are:

app folder
logs folder

Inside the app folder I have a public and sql folder which contain the wordpress files.

Now my question is how would I go about recreating a backup by using these files?