Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just inhereted our companys mediawiki and

1) what files need to be backed up to be able to restore it to a diffrent machine

2) i see there is an update to 1.15.1 I looked over the site but i don;t see any instructions for upgrading a windows based install

thanks if you can point me in the right direction.

share|improve this question

MediaWiki stores its information in two locations:

  1. The "mediawiki" folder of the website. This folder holds all uploads and "engine files" for the wiki.
  2. The database. MediaWiki uses its database to store all articles, histories, user information, and so on.

Knowing this, you can move or backup a MediaWiki installation by copying over the "mediawiki" folder and dumping the relevant database. I assume you are using MySQL for the database (that's the default for MediaWiki anyway). If you aren't familiar with backing up MySQL databases, look up the mysqlhotcopy and/or mysqldump commands. Those both create a MySQL "batch file" holding instructions to recreate the data you dumped.

NOTE: In Linux, MediaWiki also keeps some configurations in a separate /etc/mediawiki folder. I'm not sure if MediaWiki separates its configuration under Windows as well. It's more common for Windows programs and utilities to put everything in one folder, but you might want to check on that.

share|improve this answer
According to the documentation, you shouldn't back up your Mediawiki database using mysqlhotcopy. The table format used by Mediawiki cannot be backed up with this tool, and it will fail silently. – Kramii Apr 2 '14 at 9:06

Between these three pages you should have enough information to build out the backup you need: (for the windows restore script)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.