Back up this wiki

From Rpcvdraft

(Difference between revisions)
Admin (Talk | contribs)
(from village pump on editthis.info wiki)
Next diff →

Revision as of 14:30, 1 January 2008

Backing up your Wiki

I found out a way to do it: You can Export all your pages to XML using Special:Export for backup purposes:

  1. Just click on Special, list all pages
  2. copy the result
  3. edit the result to put each page name on it's own line (In MsWord, just do a replace tabs w/ paragraph end)
  4. Paste that in Export's list area.

Voila: A huge XML file with the latest version of all your pages. That XML file can be saved from your browser and later imported using Special:Import

PS: You have to do it for each namespace you want to backup (usually just templates, talk and Main). Unfortunately it does NOT backup image files, just their page.

Template:Grin Renmiri 16:54, 2 April 2006 (PDT)

Thanks Renmiri, thats excellent! -Rob
  • If you have to export changed messages and articles and categories, you have a big work to do. Good luck with this!
This works, but for articles in any namespace other than Main, you have more work to do. You have to lead each line with the namespace's name and a colon, just as you would if it were inside a wikilink. So, for instance, to back up the Template namespace, you'd have to precede each article name with Template:. Which can be a nuisance if you've got a lot of articles in namespaces other than Main to back up.
And you probably do. Your wiki may contain important data in Category:, Help:, Project:, Talk:, Template:, User: or the associated Talk namespaces (Template Talk:, User Talk:, etc.). Don't forget these. —Stormraven 15:26, 8 February 2007 (EST)
Please see the new Help document Help:Backing up your wiki. :) —Stormraven 13:45, 27 February 2007 (EST)
Personal tools