Backups

Miraheze has an internal and external backup procedure. Following the schedule below, certain critical parts of our infrastructure are automatically backed up to an external server (external meaning under our control but provided by a different server host and in a different country than all our current servers). These 'internal' backups include full database dumps, which include user account information and CheckUser information. These backups are only accessible by our Operations team, and can be used in the event of a catastrophic site failure to quickly bring the entire site up to a recent state.

Backups of a wiki
In addition to these private backups, Miraheze System Administrators, on request, will create XML dumps of wikis and host them on our static server (see below) if public, or email them to the requester if private. These backups can then be stored securely wherever you'd like. These backups do not include user account information or CheckUser information but contain wiki page text and logs that you can import to any MediaWiki site.

To request a XML dump of your wikis content, please create a Phabricator task with a title of 'Backup for [your wikis name]' replacing the name with a link to your wiki or contact our System Administrators by your preferred method.

Backup Schedules
Miraheze runs two backup schedules in production:


 * The following are backed up in their entirety every sunday:
 * Our Private Git repository (stored on misc1)
 * This includes configured passwords, private keys, and certificates for our domains
 * Ganglia (stored on misc2)
 * ACME (stored on mw1)
 * This includes the original source of private keys and certificates, and includes our account information for Let's Encrypt (the CA we use for free certificates)
 * The following are backed up completely on the first Sunday of every month. Changed files and new files are backed up on the third Sunday of the month:
 * Databases, including user information, for all wikis
 * Our static content (wiki images, user xml dumps)
 * Phabricator static (content used by our issue tracking software)


 * The following are backed up on user request and are accessible on our static site:
 * XML dumps of wiki pages (current version or complete revision history) and logs.