MediaWiki backup: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 12: | Line 12: | ||
'''Other approach''' | '''Other approach: Database backup''' | ||
* [http://www.mediawiki.org/wiki/Manual:Moving_a_wiki Manual:Moving a wiki - MediaWiki] / [http://meta.wikimedia.org/wiki/Restore_Database Restore Database] | * [http://www.mediawiki.org/wiki/Manual:Moving_a_wiki Manual:Moving a wiki - MediaWiki] / [http://meta.wikimedia.org/wiki/Restore_Database Restore Database] | ||
Revision as of 11:23, 17 September 2018
| 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
similar approach