Back up the old mediawiki- dump the database
- mysqldump -p wikidb > sql_backup_file
- save the /var/lib/mediawiki1.7/upload/ directory
- save /var/lib/mediawiki1.7/LocalSettings.php
restore it on a new wiki- apt-get install mediawiki
- if not already done, set a root mysql password
- $>mysql> update user set password = password('xxx') where user = 'root';
- browse to http://localhost/mediawiki
- step through configuration, using settings from LocalSettings.php
- restore LocalSettings.php
- you should be able to see a blank wiki now
- restore the wikidb table
- mysql -p wikidb < sql_backup_file
|