[Typo3] Copy a Typo3 installation - Is it possible?

Horn Gábor gabor at h3online.hu
Thu Oct 27 09:21:52 CEST 2005


Hi,

i usually do

1, on the old server:

cd website_directory/typo3conf/
mysqldump -uxxxx -p t3_database > t3_database.sql
cd ../../
tar -czf website.tar,gz website_directory/
copy website.tar.gz to new server

2, on the new server

tar -xzf website.tar.gz
import the t3_database.sql to a mysql database and modify 
typo3conf/localconf.php if needed
set the permisssions (as in readme.txt)

and it's done.

it always worked me fine :)

hop it helps,

bye, hirisov


Meik Schmidt írta:
> Hello people!
> 
> Is it possible to copy a typo3 installation so i don't have to configure 
> the new web again? I tried it but it does not work. I've done the 
> following steps:
> 
> - copy the web directory (not the Typo3 sources)
> - copy the sql database
> - edit the localconf.conf
> 
> The FE works fine and i can see the under the new directory. But if i 
> log in the new Backend the old BAckend appears?
> 
> I looked into the Installation and i saw that old entries still exist 
> (.../idp/ = the new one, .../web_template/ = the old installation):
> 
> ### DEBUG SYSTEM INFORMATION - START ###
> HTTP_HOST           : 192.168.111.57
> TYPO3_HOST_ONLY     : 192.168.111.57
> TYPO3_PORT          :
> PATH_INFO           :
> QUERY_STRING        : TYPO3_INSTALL[type]=phpinfo
> REQUEST_URI         :
> /idp/typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
> HTTP_REFERER        :
> http://192.168.111.57/idp/typo3/install/index.php?TYPO3_INSTALL[type]=about
> TYPO3_REQUEST_HOST  : http://192.168.111.57
> TYPO3_REQUEST_URL   :
> http://192.168.111.57/idp/typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo 
> 
> TYPO3_REQUEST_SCRIPT:
> http://192.168.111.57/web_template/typo3/install/index.php
> TYPO3_REQUEST_DIR   : http://192.168.111.57/web_template/typo3/install/
> TYPO3_SITE_URL      : http://192.168.111.57/web_template/
> TYPO3_SITE_SCRIPT   : tall/index.php?TYPO3_INSTALL[type]=phpinfo
> TYPO3_SSL           :
> SCRIPT_NAME         : /web_template/typo3/install/index.php
> TYPO3_DOCUMENT_ROOT : /srv/www/htdocs
> SCRIPT_FILENAME     : /srv/www/htdocs/web_template/typo3/install/index.php
> REMOTE_ADDR         : 192.168.111.1
> REMOTE_HOST         :
> HTTP_USER_AGENT     : Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8)
> Gecko/20050618 Firefox/1.0.4
> HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
> CONST: PHP_OS       : Linux
> CONST: TYPO3_OS     :
> CONST: PATH_thisScri: /srv/www/htdocs/web_template/typo3/install/index.php
> CONST: php_sapi_name: apache2handler
> OTHER: TYPO3_VERSION: 3.8.0
> OTHER: PHP_VERSION  : 4.3.10
> imagecreatefromgif(): 1
> imagecreatefrompng(): 1
> imagecreatefromjpeg(: 1
> imagegif()          : 1
> imagepng()          : 1
> imagejpeg()         : 1
> imagettftext()      : 1
> OTHER: IMAGE_TYPES  : 15
> OTHER: memory_limit : 25M
> SERVER: SERVER_PORT : 80
> SERVER: SERVER_SOFTW: Apache/2.0.53 (Linux/SUSE)
> SERVER: GATEWAY_INTE: CGI/1.1
> SERVER: SCRIPT_NAME : /web_template/typo3/install/index.php
> SERVER: PATH_TRANSLA: /srv/www/htdocs/web_template/typo3/install/index.php
> T3CV_GFX: image_proc: 1
> T3CV_GFX: gdlib     : 1
> T3CV_GFX: gdlib_png : 0
> T3CV_GFX: gdlib_2   : 0
> T3CV_GFX: im        : 1
> T3CV_GFX: im_path   : /usr/bin/
> T3CV_GFX: im_path_lz:
> T3CV_GFX: im_version: 1
> T3CV_GFX: im_negate_: 1
> T3CV_GFX: im_imvMask: 0
> T3CV_GFX: im_combine: composite
> ### DEBUG SYSTEM INFORMATION - END ###



More information about the TYPO3-english mailing list