Copying a Joomla website

From Joomla! Documentation

Revision as of 16:44, 4 April 2012 by Codymham (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

its very important to note that when you run the tar command you are NOT in the directory you are backing up or you will create an endless loop as it will continously sit there and try to backup the backup file.

Thanks. I can see you have already made the change. Chris Davenport 12:28, 25 March 2008 (EDT)


configuration.php vars


in configuration.php vars $log_path and $tmp_path should be edited to point to the correct paths. Or does J! 1.5 do this automatically after first backend login?


afaik it does and they're set by the installer. If unedited, both default to JPATH_ROOT + "tmp" and "log" respectively. --CirTap (talkcontribs) 05:51, 23 July 2008 (EDT)

Format of mysqldump statement ?

In this article the mysqldump statement is noted like:

mysqldump -u user -p db-name > db-name.out

Shouldn't it be

mysqldump --user=username --password=password database > dumbfile.sql

instead (so with double "--" ) see:

Both forms should work. Chris Davenport 08:58, 26 August 2008 (EDT)

Format of mysqldump statement (again)

I realize that I'm probably the first person person to actually try to copy a Joomla site, but it would be really helpful if this page gave a working mysqldump statement for reference. I'd suggest including the

-h [servername]

part for those of us that don't run our own dedicated database servers. Oskay 04:57, 31 August 2008 (EDT)

This site is undiscoverable

Hi, while being in a state of support frenzy in the Joomla forums I recently made a google search for comprehensible and complete info on how to migrate a Joomla installation to a new server/domain. This wiki page didn't come up. I think this page needs more keywords like these: moving, migrating, migration, new server, new domain. I think PageRang shouldn't be an issue with this wiki, you just need broader headlines/keywords/tags. Stroganoff 00:36, 29 June 2009 (UTC)

Improvements to this, or any, page are welcome. It's a wiki; everyone has write access. :) Chris Davenport 07:35, 29 June 2009 (UTC)

FTP Info In configuration.php

This article doesn't include the fact that you will need to chang FTP info in the configuration.php file along with the log and tmp paths. I know that this is simple, but for newbs like myself I thought I would include that in here. You need to go into the configuration.php file and edit

       var $ftp_host = '';
       var $ftp_port = '21';
       var $ftp_user = 'example';
       var $ftp_pass = 'abc123';
       var $ftp_root = '/public_html';

to include your information under ftp_host, ftp_user, and ftp_pass, and possibly the other variables depending upon your particular situation.

Cody Ham