Difference between revisions of "Copying a Joomla website"
From Joomla! Documentation
(New section: Format of mysqldump statement ?) |
|||
Line 12: | Line 12: | ||
: afaik it does and they're set by the installer. If unedited, both default to <var>JPATH_ROOT</var> + "tmp" and "log" respectively. --<span class="plainlinks">[[User:CirTap|CirTap]] <small>([[User talk:CirTap|talk]] • [[Special:Contributions/CirTap|contribs]])</small></span> 05:51, 23 July 2008 (EDT) | : afaik it does and they're set by the installer. If unedited, both default to <var>JPATH_ROOT</var> + "tmp" and "log" respectively. --<span class="plainlinks">[[User:CirTap|CirTap]] <small>([[User talk:CirTap|talk]] • [[Special:Contributions/CirTap|contribs]])</small></span> 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: http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html |
Revision as of 04:58, 26 August 2008
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 (talk • contribs) 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