MediaWiki backup: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 19: | Line 19: | ||
similar approach | similar approach | ||
* [http://www.chieftain.idv.tw/archives/2008/01/25/1337.html Reflection » Blog Archive » Export all the page names on your Mediawiki-powered Wiki] | * [http://www.chieftain.idv.tw/archives/2008/01/25/1337.html Reflection » Blog Archive » Export all the page names on your Mediawiki-powered Wiki] | ||
* [https://errerrors.blogspot.com/2020/03/alternative-approach-to-upgrade-mediawiki.html MediaWiki 替代的升級方式] | |||
[[Category:MediaWiki]] | [[Category:MediaWiki]] | ||
Latest revision as of 12:04, 1 March 2020
| MediaWiki | v.1.31.0+ |
Easy backup method
Input the all page name into Special:Export, and export the all content as a XML file. Steps:
- Generate the list of all page name:
- For newer MediaWiki: Use the Extension:OneColumnAllPages - MediaWiki
- For MediaWiki 1.21.2: I modified the Extension:DynamicWikiSitemap to list.php
- Copy the list of all page name to Special:Export
- Export the latest revision of all pages (If you choose to include the all old revisions, it will costs time to export the content.)
Other approach: Database backup
- Manual:Moving a wiki - MediaWiki / Restore Database
- Exporting data of database/table into MySql sql file
similar approach