Acquia Drupal Stack - Importing Existing Sites

Need technical support for the stack installer? See the Acquia Drupal Stack - FAQ for details.

Import and Run and Drupal 5, 6 or 7 Codebase

The Acquia Drupal "DAMP" stack can now run any Drupal 5, 6 or 7 codebase. With it, you can:

  • Run copies of existing sites - Run copies of existing Drupal 5, 6 or 7 websites into your local DAMP stack for testing and development.
  • Install other raw Drupal codebases - Run any Drupal 5-, 6- or 7-based installation - downloaded from drupal.org, patched or customized - in the Acquia Drupal stack for testing and development purposes: patch testing, core development, etc.

If you are going to run a copy of an existing site, you can import its existing database, as well. Alternatively, the DAMP stack can create a fresh MySQL database for you.

Note: using Acquia Drupal

  • Fresh installation - If you want to develop or test a fresh installation using Acquia Drupal, click "New" rather than "Import".
  • Existing Acquia Drupal codebase - If you want to test or work on an existing, modified Acquia Drupal codebase, click "Import" and proceed with the instructions for importing existing sites.

Run Existing Sites Locally

  1. Download Codebase - You will need a copy of your site's code on your local computer to be able to run it on the Acquia Drupal Stack.

    • Note: the DAMP stack does not "import" your files per se; they are neither moved nor copied into the stack. When "importing" them, the Acquia Drupal stack simply makes a record of where the Drupal directories are stored.
    • Save in a "safe place" - save the codebase in your filesystem in a place where you can find it (if you need to add/remove modules or other code) and where you won't delete or move it unintentionally.
    • Codebase must be uncompressed - Zipped codebase-dumps cannot be imported by the stack.
    • See the Drupal File System Backup appendix of the Acquia Getting Started Guide for more information.
  2. Click "Import..." - On the Sites tab of the Settings panel in the control panel application, click "Import".

    import_00a.png

    import_03.png

  3. Select docroot - Browse to the source code directory (aka "docroot") of your Drupal installation and select it.

  4. The Subsite dropdown - In most cases, simply choose "Default". If the codebase you are importing contains multiple subsites, the DAMP stack can only import one site at a time - select the one you wish to import from the Subsites dropdown.

  5. Import MySQL database - Browse to where you have saved your site's database dump and select it. Databases can be both uncompressed (a file with the extension .sql) or "gzipped" (a common format for compressed database exports - with the file extension .sql.gz). See the Drupal Database Backup appendix of the Acquia Getting Started Guide for more information.

  6. Name database - Specify a name for the database in the "Database name" field. This doesn't necessarily have to match the name the database had previously.
  7. Site URL - Enter a Subdomain and URL path to form the local site URL.

  8. Click "Import" - Click "Import". The location of your site's Drupal codebase will be recorded in the DAMP stack and the site will be included and accessible in the list of sites in the control panel's Sites settings tab.

    import_04a.png

Importing Other Raw Drupal Codebases

If you want to run a raw Drupal codebase such as Drupal 5, 6 or Drupal 7 downloaded directly from drupal.org or if don't have or want to use an existing database, the Acquia Drupal stack will create one for you.

  1. Click "Import..." - On the Sites tab of the Settings panel in the control panel application, click "Import". As above, you will need a local copy of the Drupal codebase you wish to import into the DAMP stack.

    import_00a.png

    inport_05.png

  2. Select docroot - Browse to the source code directory (aka "docroot") of the Drupal codebase you wish to install and select it.

  3. The Subsite dropdown - Select "Default" when importing a raw codebase.

  4. Create and name MySQL database - Select the "Create new database" radio button and enter a name for the new database.

  5. Site URL - Enter and URL path to form the local site URL.

  6. Click "Import" - Click "Import". The location of your site's Drupal codebase will be recorded in the DAMP stack, a new MySQL database will be created, and the site will be included and accessible in the list of sites in the control panel's Sites settings tab.

    import_06-3.png