Super User is a question and answer site for computer enthusiasts and power users. 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 brought up MediaWiki using Bintami stack. Now am trying to figure out the most brute force way to back up the the wiki and have ability to bring it up on another server as well. I have looked over the manual briefly but glancing over it seems like there will be things that don't go according to plan and will take time to get working properly.

Pretty much I am toying with the idea of using Git to keep the files used under source control. I was wondering whether anyone has tried using source control to backup wiki files without doing any SQL dumps and whether its known which folders are required for this to work if its even suppose to work.

share|improve this question

migrated from Jun 3 '13 at 6:53

This question came from our site for professional and enthusiast programmers.

all of the wiki content is usually in the SQL DB, so without a DB backup, you will lose all the important stuff -- unless you've selected a different storage (dunno which ones mediawiki currently supports) – Nevik Rehnel Jun 3 '13 at 6:00
also, if you want to use git for working with a wiki, you might want to take a look at – Nevik Rehnel Jun 3 '13 at 6:01

If you want simple backups, you can install MW using SQLite instead of MySQL, then you just need to copy one file (preferrably with php maintenance/sqlite.php --backup-to=/some/dir), however I personally don't see any problems with backing up MySQL either - it's one shell command as well.

share|improve this answer
what is the command? – user273580 Jun 5 '13 at 18:44
@axrwkr: – MaxSem Jun 5 '13 at 18:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .