Media Wiki Backup Automation: Difference between revisions

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


=MediaWiki Server Backup Script=
=MediaWiki Server Backup Script=
A backup script that introspects the mediawiki instance, performs a full backup (database, files, extensions, configuration) and produces a file that can be used restore the wiki: {{External|[https://github.com/ovidiuf/shell-tools/blob/master/backup-system/mediawiki-backup mediawiki-backup]}}
A backup script that introspects the mediawiki instance, performs a full backup (database, files, extensions, configuration) and produces a file that can be used restore the wiki: {{External|[https://github.com/ovidiuf/shell-tools/blob/master/backup-system/mediawiki-backup mediawiki-backup]}}
The script has in-line help, but essentially the backup is as simple as:
The script has in-line help, but essentially the backup is as simple as:
Line 17: Line 16:
mediawiki-backup /var/www/mediawiki-1.35.0
mediawiki-backup /var/www/mediawiki-1.35.0
</syntaxhighlight>
</syntaxhighlight>
==Legacy Script==
==Legacy Script==
Reference kb.novaordis.com backup script (deprecated now): {{External|[https://github.com/ovidiuf/shell-tools/blob/master/backup-system/backup-kb.novaordis.com backup-kb.novaordis.com]}}
Reference kb.novaordis.com backup script (deprecated now): {{External|[https://github.com/ovidiuf/shell-tools/blob/master/backup-system/backup-kb.novaordis.com backup-kb.novaordis.com]}}
=Set up Backup Automation=
{{Internal|Media_Wiki_Native_Installation#Set_up_Backup_Automation|MediaWiki Native Installation &#124; Set up Backup Automation}}

Revision as of 18:21, 4 April 2021

External

Internal

Overview

This procedure produces a file that can then be used as part of the Restoring a Wiki into the Same or Newer MediaWiki Version procedures.

MediaWiki Server Backup Script

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

mediawiki-backup

The script has in-line help, but essentially the backup is as simple as:

mediawiki-backup /var/www/mediawiki-1.35.0

Legacy Script

Reference kb.novaordis.com backup script (deprecated now):

backup-kb.novaordis.com

Set up Backup Automation

MediaWiki Native Installation | Set up Backup Automation