Media Wiki Backup Automation: Difference between revisions
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
=MediaWiki Server Backup Script= | =MediaWiki Server Backup Script= | ||
A backup script that introspects the | 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. | The script has in-line help, but essentially the backup is as simple as: | ||
<syntaxhighlight lang='bash'> | |||
mediawiki-backup /var/www/mediawiki-1.35.0 | |||
</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]}} |
Revision as of 01:35, 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:
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):