Talk

Copying a Joomla website

From Joomla! Documentation

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[edit]

Hi,

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?

Greets

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 ?[edit]

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: http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html

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


Format of mysqldump statement (again)[edit]

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)