Reverting CiviCRM on Drupal 7 to last backed up state?
How to revert the CiviCRM to previous state:


Put Drupal into maintenance mode
Disable integration modules
Replace civicrm.settings.php with backed up copy and check permissions
Remove everything in &lt;drupal_home&gt;/sites/all/modules/civicrm and
replace with backed up version and check permissions
Drop civicrm database and import backup database
Clear caches and empty &lt;drupal_home&gt;sites/default/files/civicrm/templates_c and check permissions
Re-enable integration modules
Log in, test and debug


Command Line Cheatsheet for Drush and MySQL, Regarding These Steps:

Maintenance mode: drush vset maintenance_mode 1

Disabling and Enabling CiviCRM Integration Modules: 

drush pm-disable [integration_module] or
drush pm-enable [integration_module]

Dropping, re-creating and importing a database in MySQL:

mysql -u [username] -p
use [database name];
DROP DATABASE [database];
CREATE DATABASE [database];
source path/to/backup.sql;


Clear caches: drush cc all

Dealing with templates_c: rm &lt;drupal_home&gt;sites/default/files/civicrm/templates_c/*