To copy a Confluence instance from one server to another, for example to transfer the current production snapshot to a test server as permitted in the licence agreement:

On the original server:

  1. Stop Confluence
  2. Copy your Confluence install directory
  3. Copy your Confluence home directory
  4. Use your database administration tool to access your external database and create a Confluence database export
  5. Start Confluence

On the target server:

  1. If you are not using Standalone Confluence, setup the same version of the application server use on the original
  2. Setup the database to be an exact clone of the original
    1. Setup the same database version and driver
    2. Setup the database user to have the same permissions as the original
    3. Import the Confluence database export
  3. Place the Confluence install directory but do not start Confluence yet
  4. Place the Confluence home directory
  5. If the home directory is in a different location, go to the Confluence install directory and edit ..\confluence\WEB-INF\classes\confluence-init.properties. The home directory is set under confluence.home
  6. To modify any database connection information, go to the Confluence home directory and edit confluence.cfg.xml. The connection URL is set under hibernate.connection.url
  7. Start Confluence

The target instance will be a clone of the original instance.