Disaster recovery
By using the backup strategy described in this chapter, you can recover your site relatively quickly using your most recent backups. If your server crashes, or if some other technological disaster befalls your site, the first step is to contact your web host or tech support to inform them that your site is down. In most cases, problems involving a website going down (and this applies to all sites, not just Drupal sites) has nothing to do with the site, but with the hosting infrastructure. Fixing the issues with the web server, or the connection to the web server, usually fixes the problems with the site.
However, should your actual site become compromised, here is how to recover:
Retrieve your most recent backup of the files directory
Retrieve your most recent backup of your database
Retrieve your most recent master backup
Within your master backup, replace the files directory at sites/default
Replicate your site as described in the previous section