Friday, January 14, 2011

Media wiki on windows server 2k3 backup/restore and upgrade

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.

  • 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)

    From Keith
  • 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.

    From DWilliams

0 comments:

Post a Comment