Difference between revisions of "Backing up the wiki"

Jump to navigation Jump to search
(Created page with "'''Backing up the wiki''' without server shell access, requires Python v2 (v3 doesn't yet work). Run the the [https://github.com/WikiTeam/wikiteam WikiTeam] Python script [ht...")
 
Line 5: Line 5:
 
  python dumpgenerator.py --api=http://www.sdiy.info/w/api.php --xml --images
 
  python dumpgenerator.py --api=http://www.sdiy.info/w/api.php --xml --images
  
 +
== Restoring the wiki ==
 +
<!-- still to be written -->
 
See [https://www.mediawiki.org/wiki/MediaWiki MediaWiki.org] for details about installing and configuring a MediaWiki wiki.
 
See [https://www.mediawiki.org/wiki/MediaWiki MediaWiki.org] for details about installing and configuring a MediaWiki wiki.
 
+
<!-- === Style sheets, Javascript, extensions, templates, etc === -->
<!-- == Extensions, templates, etc == -->
 
  
 
[[Category:Meta]]
 
[[Category:Meta]]

Revision as of 12:17, 16 August 2016

Backing up the wiki without server shell access, requires Python v2 (v3 doesn't yet work).

Run the the WikiTeam Python script dumpgenerator.py from the command-line to get an XML (with edit histories) dump and a dump of all images plus their descriptions. Full instructions are at the WikiTeam tutorial.

python dumpgenerator.py --api=http://www.sdiy.info/w/api.php --xml --images

Restoring the wiki

See MediaWiki.org for details about installing and configuring a MediaWiki wiki.