: Completely backup MediaWiki I'm trying to backup my MediaWiki instance. I'd like to do it completely, meaning that if the web server exploded suddenly, with the backup files, I can restore
I'm trying to backup my MediaWiki instance. I'd like to do it completely, meaning that if the web server exploded suddenly, with the backup files, I can restore the MediaWiki instance completely to its state when the backup was created. The best reference so far I found is www.mediawiki.org/wiki/Fullsitebackup . Just want to check with experienced MediaWiki administrators if this is up-to-date and complete, or if it's even the best/right reference.
More posts by @BetL925
1 Comments
Sorted by latest first Latest Oldest Best
The fullsitebackup script looks fine but it might not work on all systems. It's dumping the database and it's compressing the files in a tar file.
As with any backup script and system the best way to know if it works is to take the backup, set it up on a fresh machine and see if everything works as usual.
It's worth learning some basic shell scripting if you're managing websites for which you need to assure proper backups. I usually set up my backup systems with some shell code, with a little help from backupninja for the database dumps.
For MediaWiki systems it makes sense to "split up" the backup in different parts. I prefer to
move code into htdocs or html directory
keep code in a git repository at GitHub (excluding images and dumps),
nightly dump database into a directory not accessible through webserver (e.g. Apache)
rsync everything to somewhere else
I have a scripts directory to manage all this
I'm also running several MediaWiki instances from one code base. I might open up some of this code if there's enough interest (from me or others).
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.