For files you need to follow these steps:
Save a backup copy of files for the desired date
Upload the backup file
If the site has used a database (it is necessary for such popular CMS as WordPress, Joomla, or OpenCart), then you also need to do the following:
Save a backup copy of the database for the desired date
Connect the database in the configuration file
In case you are seeing "Error establishing a database connection" or a similar error, refer to this article: How to fix "Error establishing a database connection"?
Done, your site has been successfully restored! To see the changes, you may need to clear the browser cache and local DNS cache.
NOTE:
After the restoration, your website will be brought back to the state it was at the moment of backup creation. All the changes that were done after the backup date will be reverted