I have a problem with a module the site functions but I need to roll the database back to the backup I took before deploying the module. How can I do that?I am using D8
You can use Drush.
All you need to do is to run, inside a Drupal instalation, the following command:
drush sqlc < path/to/backup.sql
*You may want to drop your current database before that. The command is:
drush sql-drop -y