Media Wiki Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:


* External: https://www.mediawiki.org/wiki/Manual:Moving_a_wiki
* External: https://www.mediawiki.org/wiki/Manual:Moving_a_wiki
Lessons learned after performing a not500 export and a now510 import:
* The wiki users carry passwords over (as expected, they're stored in the database).
* MySQL export/import went fine:
<pre>
mysqldump -h localhost -u <old-user> -p --default-character-set=binary <old-database> > novaordis-wiki.sql
mysql -u <new-user> -p <new-database> < novaordis-wiki.sql
</pre>
* Only the "image" content need to be transferred, and I needed to restore ownership to apache:apache and run <tt></tt>.


=Organizatorium=
=Organizatorium=


* Restoring a wiki from backup https://www.mediawiki.org/wiki/Manual:Restoring_a_wiki_from_backup
* Restoring a wiki from backup https://www.mediawiki.org/wiki/Manual:Restoring_a_wiki_from_backup

Revision as of 06:59, 7 January 2016

External

Internal

Backing Up a Wiki

Restoring a Wiki from Backup

Moving a Wiki


Lessons learned after performing a not500 export and a now510 import:

  • The wiki users carry passwords over (as expected, they're stored in the database).
  • MySQL export/import went fine:
mysqldump -h localhost -u <old-user> -p --default-character-set=binary <old-database> > novaordis-wiki.sql
mysql -u <new-user> -p <new-database> < novaordis-wiki.sql
  • Only the "image" content need to be transferred, and I needed to restore ownership to apache:apache and run .

Organizatorium