Media Wiki Backup Automation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:


=Overview=
=Overview=
This procedure produces a file that can then be used as part of the [[Restoring_MediaWiki_from_Backup#Overview|Restoring MediaWiki from Backup]] and [[Upgrading MediaWiki]] procedures.


=MediaWiki Server Backup Script=
=MediaWiki Server Backup Script=

Revision as of 20:07, 29 March 2021

External

Internal

Overview

This procedure produces a file that can then be used as part of the Restoring MediaWiki from Backup and Upgrading MediaWiki procedures.

MediaWiki Server Backup Script

A backup script that introspects the wikimedia instance, performs a full backup (database, files, extensions, configuration) and produces a file that can be used restore the wiki:

mediawiki-backup

Reference kb.novaordis.com backup script:

backup-kb.novaordis.com

To Implement

/etc/pki/tls/certs/kb.novaordis.com.crt
/etc/pki/tls/private/kb.novaordis.com.key
/etc/pki/tls/certs/kb.novaordis.com-godaddy-chain.crt
  • Include backup mechanism files backup-kb.novaordis.com and relevant root's crontab content:
0 3 * * * /root/bin/backup-kb.novaordis.com