I've backed up my drupal 8 database via the CLI using drush sql-dump > myfile.sql
.
I make some changes to the site and break it, then I try to restore it via drush sqlc < myfile.sql
.
It works for a bit, until I click something and it messes up again as if there was something written to the files causing it and it is not just the database alone that is the culprit. I get this error:
The website encountered an unexpected error. Please try again later.
A totally vague error as I'm not sure what is causing it.
Are there any files that are written to the Drupal directory that has to be deleted as well when doing a drush sqlc < myfile.sql
restore?