Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Jun 3 '13 at 6:53

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

1  
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 github.com/gollum/gollum –  Nevik Rehnel Jun 3 '13 at 6:01

1 Answer 1

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? –  xxx Jun 5 '13 at 18:44
    
@axrwkr: dev.mysql.com/doc/refman/5.1/en/mysqldump.html –  MaxSem Jun 5 '13 at 18:58

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.