Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

Between these three pages you should have enough information to build out the backup you need:

http://www.mwusers.com/forums/showthread.php?p=13894

http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki

http://www.mediawiki.org/wiki/User:Flominator/Backup_MW (for the windows restore script)

share|improve this answer

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. mediawiki.org/wiki/Manual:Backing_up_a_wiki –  Kramii Apr 2 at 9:06

Your Answer

 
discard

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.