Author: huck.finn
Description:
I tested the whole BACKUP and RESTORE process using 2 separate Linux machines (first has Fedora 7 core, the second Fedora 9 core). All prerequisities for MediaWiki were installed.
- I created backup from my working wiki.
nice -n 19 /usr/bin/mysqldump -u wikiuser -pheslo --default-character-set=latin1 wikidb -c | nice -n 19 /bin/gzip -9 > ~/backup/wiki-sql-$(date '+%a').sql.gz
This file has been created: wiki-sql-So.sql.gz
- I created a new empty wiki (the same version 1.11) on the 2nd machine. I used the same install parameters as with the first wiki. I ran also the install script.
Than I copied the content of my first wiki over the entire <MediaWiki-folder> content.
I unpacked the .gz file and restored the content of MySQL:
super~ ]# mysql -u root -p wikidb < wiki-sql-So.sql
Everything seems to be restored fine except of Mediawiki:Sidebar values. The new wiki shows the initial defualt settings instead of the setting from the working wiki.
I use the "cs - czech language" setting.
Regards, Huck.
Version: 1.11.x
Severity: normal
OS: Linux
URL: http://www.wikiskripta.cz/pfuk/
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=5092