Mirroring a site and its database

Useful for creating a snapshot mirror of something like a Drupal site.