1

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.

Crash893
  • 737
  • 2
  • 15
  • 30

2 Answers2

1

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.

DWilliams
  • 953
  • 2
  • 20
  • 28
  • 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. http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki – Kramii Apr 02 '14 at 09:06
0

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)

Keith
  • 352
  • 3
  • 11