Mobile app version of vmapp.org
Login or Join
BetL925

: 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

@BetL925

Posted in: #Backups #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 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.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @BetL925

1 Comments

Sorted by latest first Latest Oldest Best

 

@Annie201

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme