Last modified: 2013-09-19 19:17:59 UTC
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.
1. 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
2. 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.
*** Bug 16144 has been marked as a duplicate of this bug. ***
Bug 16144 contains an unfinished entry of my report. I'am sorry for a preliminery 'mousepo'. This report is the complete one.
Supplement of the observation: the content of Mediawiki:Sidebar is correct however MediaWiki software does not reflect it. Once I slightly edit Mediawiki:Sidebar page (ie. I make no essential change) the display shows the navigation correctly according to the restored values.
Thus it is likely that MW software checks content of Mediawiki:Sidebar only after its first edit.
(In reply to comment #3)
> Supplement of the observation: the content of Mediawiki:Sidebar is correct
> however MediaWiki software does not reflect it. Once I slightly edit
> Mediawiki:Sidebar page (ie. I make no essential change) the display shows the
> navigation correctly according to the restored values.
> Thus it is likely that MW software checks content of Mediawiki:Sidebar only
> after its first edit.
Changing summary to reflect this.
Also note http://www.mediawiki.org/wiki/Manual:$wgEnableSidebarCache just in case...