Restore database from backup I accidentally deleted the Drupal 8 files, but the database is not damaged. Is there anyway I can bring my site back to live?

I have an old backup of only files. I restored the file of that backup in the root folder, and replaced the database credentials in the settings.php file. It didn't work.

Is there any other way to bring back the site to live from the database?

Note: this is shared hosting.
Replace the settings.php with the default.settings.php and re-run the installer.

Use the same database credentials and it should detect that there is an existing installation and say the installer cannot continue. However, you should be able to view the site normally once the installer cannot continue.