Copying a complete Drupal site to a new virtual site within the same Drupal installation is relatively easy. These are the steps to take:
- Take original site off-line to prevent changes while the copy is in progress.
- Copy site-specific files, themes and modules.
- Copy the site database (with phpMyAdmin select "Add AUTO_INCREMENT value" for this to work properly).
- Return original site to on-line state.
- Log into new copy and visit these admin pages:
- Modules (updates the database with the new sites module paths)