[TYPO3-english] How to duplicate site?

Michael Schams typo3 at 2016.schams.net
Fri Jul 1 04:41:02 CEST 2016


On Tue, 2016-06-28 at 23:03 +0200, Jacob Roe wrote:

> How can I duplicate a typo3 site? It's running version 7.6 with boostrap_package.

It depends what exactly you mean by "duplicate a site".

Assuming, you have an existing site and you want to clone it as a
foundation for a new site under a new domain - maybe on a different
server or at least into a different DocumentRoot, you could do something
like this:

1) set up new web environment (DocumentRoot)
2) create an empty database
3) copy all files from old to new DocumentRoot (e.g. htdocs)
4) copy the database from old to new
5) on new instance: update file typo3conf/LocalConfiguration.php
6) on new instance: delete all files from directory typo3temp/
7) on new instance: open TYPO3's Install Tool and clear all caches
8) on new instance: login at the backend (new site) and adjust config
9) test, test, test, test...

Some further details:

In point 5) you have to update the access details to the DB and you
likely want to create a new Install Tool password, encryption key, etc.
You can all this via the Install Tool, too.

The exact configuration options which need to be changed in 8) depend on
your individual setup. Typical changes include TypoScript updates (e.g.
base URL, etc.), domain records, user accounts, etc.


Cheers
Michael




More information about the TYPO3-english mailing list